diff options
Diffstat (limited to 'test/Sema/xray-always-instrument-attr.c')
-rw-r--r-- | test/Sema/xray-always-instrument-attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/xray-always-instrument-attr.c b/test/Sema/xray-always-instrument-attr.c index 3c063e21a68fe..b52369010287a 100644 --- a/test/Sema/xray-always-instrument-attr.c +++ b/test/Sema/xray-always-instrument-attr.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 %s -verify -fsyntax-only -std=c11 void foo() __attribute__((xray_always_instrument)); -struct __attribute__((xray_always_instrument)) a { int x; }; // expected-warning {{'xray_always_instrument' attribute only applies to functions and methods}} +struct __attribute__((xray_always_instrument)) a { int x; }; // expected-warning {{'xray_always_instrument' attribute only applies to functions and Objective-C methods}} void bar() __attribute__((xray_always_instrument("not-supported"))); // expected-error {{'xray_always_instrument' attribute takes no arguments}} |