summaryrefslogtreecommitdiffstats
path: root/test/Sema/declspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/declspec.c')
-rw-r--r--test/Sema/declspec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Sema/declspec.c b/test/Sema/declspec.c
index d9f4157..1c87a0e 100644
--- a/test/Sema/declspec.c
+++ b/test/Sema/declspec.c
@@ -31,3 +31,8 @@ struct test1 {
void test2() {}
+
+// PR6423
+struct test3s {
+} // expected-error {{expected ';' after struct}}
+typedef int test3g;
OpenPOWER on IntegriCloud