summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/struct-passing.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-08-15 22:38:22 +0000
committerEric Christopher <echristo@apple.com>2011-08-15 22:38:22 +0000
commitbf005ecd9c4d791b8fd2595bd970644dff951a9f (patch)
tree195607747c734bde956ff66ad15c7e4560c37b5a /clang/test/CodeGen/struct-passing.c
parentd2dfc5ec02d90d28147c583decb5417a4c37d07e (diff)
downloadbcm5719-llvm-bf005ecd9c4d791b8fd2595bd970644dff951a9f.tar.gz
bcm5719-llvm-bf005ecd9c4d791b8fd2595bd970644dff951a9f.zip
'pure' and 'const' functions should also be marked nounwind. Migrate
test over from llvm/test/FrontendC++ and update others to account for the change. llvm-svn: 137669
Diffstat (limited to 'clang/test/CodeGen/struct-passing.c')
-rw-r--r--clang/test/CodeGen/struct-passing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/struct-passing.c b/clang/test/CodeGen/struct-passing.c
index 8e5c0adcfc1..efb00efd53a 100644
--- a/clang/test/CodeGen/struct-passing.c
+++ b/clang/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)
OpenPOWER on IntegriCloud