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