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