hanchenye-llvm-project/clang/test/Parser/CompoundStmtScope.c

9 lines
142 B
C

// RUN: clang -fsyntax-only -verify %s
int foo() {
{
typedef float X;
}
X Y; // expected-error {{use of undeclared identifier}}
}