================
@@ -0,0 +1,15 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+// expected-note@+1 {{to match this '{'}}
+void a(int i) {
+    switch(i) {
+        case 1:
+  // expected-error@+2 {{expected ']'}}
+  // expected-error@+3 {{expected ']'}}
+  [[fallthrough;;
+        case 2:
+        ;
+    };
+   // expected-error@+2 {{expected statement}}
----------------
erichkeane wrote:

This is a weird degredation of behavior.  What causes this?

https://github.com/llvm/llvm-project/pull/187580
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to