summaryrefslogtreecommitdiffstats
path: root/test/Parser/expressions.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/expressions.c')
-rw-r--r--test/Parser/expressions.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Parser/expressions.c b/test/Parser/expressions.c
index 6015e91..0d1b6c9 100644
--- a/test/Parser/expressions.c
+++ b/test/Parser/expressions.c
@@ -51,3 +51,9 @@ int test6(void) {
test5(1)
; // expected-error {{expected ')'}}
}
+
+// PR8394
+void test7() {
+ ({} // expected-note {{to match}}
+ ; // expected-error {{expected ')'}}
+}
OpenPOWER on IntegriCloud