diff options
Diffstat (limited to 'test/Sema/unused-expr.c')
-rw-r--r-- | test/Sema/unused-expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/unused-expr.c b/test/Sema/unused-expr.c index 58ad8278f2011..c574f5e4afee8 100644 --- a/test/Sema/unused-expr.c +++ b/test/Sema/unused-expr.c @@ -96,7 +96,7 @@ int t6() { return 0; } -int t7 __attribute__ ((warn_unused_result)); // expected-warning {{'warn_unused_result' attribute only applies to functions}} +int t7 __attribute__ ((warn_unused_result)); // expected-warning {{'warn_unused_result' attribute only applies to Objective-C methods, enums, structs, unions, classes, functions, and function pointers}} // PR4010 int (*fn4)(void) __attribute__ ((warn_unused_result)); |