summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-nodebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/attr-nodebug.c')
-rw-r--r--clang/test/Sema/attr-nodebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/attr-nodebug.c b/clang/test/Sema/attr-nodebug.c
index 03ec49b850d..39643bfb70d 100644
--- a/clang/test/Sema/attr-nodebug.c
+++ b/clang/test/Sema/attr-nodebug.c
@@ -3,7 +3,7 @@
int a __attribute__((nodebug));
void b() {
- int b __attribute__((nodebug)); // expected-warning {{'nodebug' only applies to variables with static storage duration and functions}}
+ int b __attribute__((nodebug)); // expected-warning {{'nodebug' attribute only applies to functions and global variables}}
}
void t1() __attribute__((nodebug));
OpenPOWER on IntegriCloud