diff options
Diffstat (limited to 'clang/test/Sema/attr-unused.c')
| -rw-r--r-- | clang/test/Sema/attr-unused.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/attr-unused.c b/clang/test/Sema/attr-unused.c index 6a7ea951a36..07c65cbd9ae 100644 --- a/clang/test/Sema/attr-unused.c +++ b/clang/test/Sema/attr-unused.c @@ -9,7 +9,7 @@ int f1() __attribute__((unused)); int g0 __attribute__((unused)); -int f2() __attribute__((unused(1, 2))); // expected-error {{attribute requires 0 argument(s)}} +int f2() __attribute__((unused(1, 2))); // expected-error {{attribute takes no arguments}} struct Test0_unused {} __attribute__((unused)); struct Test0_not_unused {}; |

