diff options
author | Eric Christopher <echristo@apple.com> | 2011-08-15 22:38:22 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-08-15 22:38:22 +0000 |
commit | 041087caec03e8855770695d3eabc0feb031f6ed (patch) | |
tree | 40df708abc50c383e26d554a861ba44dbc707412 /test/CodeGen/struct-passing.c | |
parent | b917e6490e7aa0b255111cd762a277de18cfa641 (diff) |
'pure' and 'const' functions should also be marked nounwind. Migrate
test over from llvm/test/FrontendC++ and update others to account for
the change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct-passing.c')
-rw-r--r-- | test/CodeGen/struct-passing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/struct-passing.c b/test/CodeGen/struct-passing.c index 8e5c0adcfc..efb00efd53 100644 --- a/test/CodeGen/struct-passing.c +++ b/test/CodeGen/struct-passing.c @@ -16,8 +16,8 @@ void __attribute__((pure)) f5(T1 a); void *ps[] = { f0, f1, f2, f3, f4, f5 }; -// CHECK: declare i32 @f0() readnone -// CHECK: declare i32 @f1() readonly +// CHECK: declare i32 @f0() nounwind readnone +// CHECK: declare i32 @f1() nounwind readonly // CHECK: declare void @f2({{.*}} sret) // CHECK: declare void @f3({{.*}} sret) // CHECK: declare void @f4({{.*}} byval align 4) |