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