Add test for ROOT-7610.
This commit is contained in:
parent
22925c8b0a
commit
b56389eebe
@ -10,4 +10,6 @@
|
||||
|
||||
struct {int j;}; // expected-error {{anonymous structs and classes must be class members}}
|
||||
|
||||
// ROOT-7610
|
||||
do { int a = 0; } while(a==0); // expected-error {{use of undeclared identifier 'a'}}
|
||||
.q
|
||||
|
Loading…
x
Reference in New Issue
Block a user