clang-1/test/Parser/CompoundStmtScope.c

9 строки
142 B
C

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