cling/test/ErrorRecovery/Redeclarables.h
2012-09-05 09:37:39 +00:00

20 lines
303 B
C

// Makes it easy to debug
typedef int A;
typedef int B;
typedef int C;
extern A my_int;
extern B my_int;
extern C my_int;
int my_int = 10;
extern A my_funct();
extern B my_funct();
int my_funct() {
return 10;
}
error_here; // expected-error {{C++ requires a type specifier for all declarations}}