diff options
Diffstat (limited to 'test/Sema/annotate.c')
-rw-r--r-- | test/Sema/annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/annotate.c b/test/Sema/annotate.c index 4d55075..6f81491 100644 --- a/test/Sema/annotate.c +++ b/test/Sema/annotate.c @@ -3,5 +3,5 @@ void __attribute__((annotate("foo"))) foo(float *a) { __attribute__((annotate("bar"))) int x; __attribute__((annotate(1))) int y; // expected-error {{argument to annotate attribute was not a string literal}} - __attribute__((annotate("bar", 1))) int z; // expected-error {{attribute requires 1 argument(s)}} + __attribute__((annotate("bar", 1))) int z; // expected-error {{attribute takes one argument}} } |