Update analyzer build.
[clang.git] / test / Parser / cxx-undeclared-identifier.cpp
blobf15deabc6da528d1ed54e9c09a3fab53de4b8452
1 // RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
3 // PR7180
4 int f(a::b::c); // expected-error {{use of undeclared identifier 'a'}}
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 '}'}}