Home | History | Annotate | Download | only in Parser
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 void foo() {
      4   {
      5     typedef float X;
      6   }
      7   X Y;  // expected-error {{use of undeclared identifier}}
      8 }
      9