mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 06:56:06 +00:00

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.
9 lines
214 B
C++
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{{.*}} }
|