Home | History | Annotate | Download | only in Parser
      1 // RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
      2 
      3 // PR7180
      4 int f(a::b::c); // expected-error {{use of undeclared identifier 'a'}}
      5 
      6 class Foo::Bar { // expected-error {{use of undeclared identifier 'Foo'}} \
      7                  // expected-note {{to match this '{'}} \
      8                  // expected-error {{expected ';' after class}}
      9                  // expected-error {{expected '}'}}
     10