aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/attr-nodebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/attr-nodebug.c')
-rw-r--r--test/Sema/attr-nodebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/attr-nodebug.c b/test/Sema/attr-nodebug.c
index e7ca58d3ba15..355778411d3e 100644
--- a/test/Sema/attr-nodebug.c
+++ b/test/Sema/attr-nodebug.c
@@ -2,7 +2,7 @@
int a __attribute__((nodebug));
-void b(int p __attribute__((nodebug))) { // expected-warning {{'nodebug' attribute only applies to variables and functions}}
+void b(int p __attribute__((nodebug))) { // expected-warning {{'nodebug' attribute only applies to functions, function pointers, Objective-C methods, and variables}}
int b __attribute__((nodebug));
}