1// RUN: %clang_cc1 -fsyntax-only -verify %s2 3void foo(void) {4 {5 typedef float X;6 }7 X Y; // expected-error {{use of undeclared identifier}}8}9