diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-25 07:15:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-25 07:15:16 +0000 |
commit | d620e09c13b1ca32434ce440abf5bb0f3d0979c5 (patch) | |
tree | 7741519fb7d204ac5f8303922943f752d4903cab /test/CodeGen/2008-04-08-NoExceptions.c | |
parent | 0a8dead5303bd0cabebf07ab4e8d4f838787e8f1 (diff) | |
download | clang-d620e09c13b1ca32434ce440abf5bb0f3d0979c5.tar.gz |
Add more attributes from the command line to functions.
This is an ongoing process. Any command line option which a back-end cares about
should be added here.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/2008-04-08-NoExceptions.c')
-rw-r--r-- | test/CodeGen/2008-04-08-NoExceptions.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CodeGen/2008-04-08-NoExceptions.c b/test/CodeGen/2008-04-08-NoExceptions.c index 7d533b7a3a..1213492d1d 100644 --- a/test/CodeGen/2008-04-08-NoExceptions.c +++ b/test/CodeGen/2008-04-08-NoExceptions.c @@ -2,12 +2,11 @@ void f(void); void g(void) { - // CHECK: define void @g() #0 + // CHECK: define void @g() [[NUW:#[0-9]+]] // CHECK-NOT: call void @f() nounwind f(); } -// CHECK-NOT: declare void @f() #0 +// CHECK-NOT: declare void @f() [[NUW]] -// CHECK: attributes #0 = { nounwind {{.*}} } -// CHECK: attributes #1 = { "target-features"={{.*}} } +// CHECK: attributes [[NUW]] = { nounwind{{.*}} } |