diff options
Diffstat (limited to 'clang/test/CodeGen/struct-passing.c')
-rw-r--r-- | clang/test/CodeGen/struct-passing.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/test/CodeGen/struct-passing.c b/clang/test/CodeGen/struct-passing.c index efb00efd53a..487f0610e73 100644 --- a/clang/test/CodeGen/struct-passing.c +++ b/clang/test/CodeGen/struct-passing.c @@ -16,9 +16,13 @@ void __attribute__((pure)) f5(T1 a); void *ps[] = { f0, f1, f2, f3, f4, f5 }; -// CHECK: declare i32 @f0() nounwind readnone -// CHECK: declare i32 @f1() nounwind readonly +// CHECK: declare i32 @f0() #0 +// CHECK: declare i32 @f1() #1 // CHECK: declare void @f2({{.*}} sret) // CHECK: declare void @f3({{.*}} sret) // CHECK: declare void @f4({{.*}} byval align 4) // CHECK: declare void @f5({{.*}} byval align 4) + +// CHECK: attributes #0 = { nounwind readnone "target-features"={{.*}} } +// CHECK: attributes #1 = { nounwind readonly "target-features"={{.*}} } +// CHECK: attributes #2 = { nounwind "target-features"={{.*}} } |