summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/declspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/declspec.c')
-rw-r--r--clang/test/Sema/declspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/declspec.c b/clang/test/Sema/declspec.c
index 1c87a0e21c5..7354028cba3 100644
--- a/clang/test/Sema/declspec.c
+++ b/clang/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) { }
OpenPOWER on IntegriCloud