diff options
Diffstat (limited to 'test/Sema/declspec.c')
-rw-r--r-- | test/Sema/declspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/declspec.c b/test/Sema/declspec.c index 1c87a0e..7354028 100644 --- a/test/Sema/declspec.c +++ b/test/Sema/declspec.c @@ -10,7 +10,7 @@ int typedef validTypeDecl() { } // expected-error {{function definition declared struct _zend_module_entry { } // expected-error {{expected ';' after struct}} int gv1; typedef struct _zend_function_entry { } // expected-error {{expected ';' after struct}} \ - // expected-error {{declaration does not declare anything}} + // expected-warning {{declaration does not declare anything}} int gv2; static void buggy(int *x) { } |