llvm-project/clang/test/CodeGenCXX/main-norecurse.cpp
Nikita Popov ff8b1b1b9c Reapply [IR] Don't mark mustprogress as type attribute
Reapply with fixes for clang tests.

-----

This is a simple enum attribute. Test changes are because enum
attributes are sorted before type attributes, so mustprogress is
now in a different position.
2021-07-09 20:57:44 +02:00

9 lines
214 B
C++

// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
// CHECK: define {{.*}} @main({{.*}}) #0
int main(int argc, char **argv) {
return 1;
}
// CHECK: attributes #0 = { mustprogress noinline norecurse{{.*}} }