summaryrefslogtreecommitdiff
path: root/test/Parser/c1x-alignas.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/c1x-alignas.c')
-rw-r--r--test/Parser/c1x-alignas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/c1x-alignas.c b/test/Parser/c1x-alignas.c
index 81cd6816307f..5b29df262d3c 100644
--- a/test/Parser/c1x-alignas.c
+++ b/test/Parser/c1x-alignas.c
@@ -5,7 +5,7 @@ _Alignas(4) char c1;
unsigned _Alignas(long) char c2;
char _Alignas(16) c3;
-char c4 _Alignas(32); // expected-error {{expected ';' after top level declarator}}
+char c4 _Alignas(32); // expected-error {{expected ';' after top level declarator}} expected-warning {{declaration does not declare anything}}
char _Alignas(_Alignof(int)) c5;