1 2 3 4 5 6 7 8
// RUN: clang -fsyntax-only -verify %s int foo() { { typedef float X; } X Y; // expected-error {{use of undeclared identifier}} }