================
@@ -72,7 +72,7 @@ int negative_test_switch() {
                         expected-error {{expected expression}}
                         expected-warning {{expression result unused}} */
 
-  switch ([[]]; 1) { // expected-warning {{empty declaration statement of 
'switch' has no effect}}
+  switch ([[]]; 1) { // expected-error {{first clause in condition must be a 
declaration}}
----------------
Sirraide wrote:

same here

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

Reply via email to