diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
commit | bfef399519ca9b8a4b4c6b563253bad7e0eeffe0 (patch) | |
tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/Sema/attr-nodebug.c | |
parent | 6a0372513edbc473b538d2f724efac50405d6fef (diff) |
Diffstat (limited to 'test/Sema/attr-nodebug.c')
-rw-r--r-- | test/Sema/attr-nodebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/attr-nodebug.c b/test/Sema/attr-nodebug.c index 3cc4088e4b3c..03ec49b850d6 100644 --- a/test/Sema/attr-nodebug.c +++ b/test/Sema/attr-nodebug.c @@ -4,8 +4,8 @@ int a __attribute__((nodebug)); void b() { int b __attribute__((nodebug)); // expected-warning {{'nodebug' only applies to variables with static storage duration and functions}} -} +} void t1() __attribute__((nodebug)); -void t2() __attribute__((nodebug(2))); // expected-error {{attribute takes no arguments}} +void t2() __attribute__((nodebug(2))); // expected-error {{'nodebug' attribute takes no arguments}} |