Add test for ROOT-7610.

This commit is contained in:
Axel Naumann 2016-09-06 09:33:04 +02:00 committed by sftnight
parent 22925c8b0a
commit b56389eebe

View File

@ -10,4 +10,6 @@
struct {int j;}; // expected-error {{anonymous structs and classes must be class members}} 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 .q