blob: 90e3d24a32f5c938b915fbb51d7ff1e20a8fc0c1 [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -verify %s
void foo() {
{
typedef float X;
}
X Y; // expected-error {{use of undeclared identifier}}
}