[libc++][NFC] Remove trailing whitespace from release notes
[llvm-project.git] / clang / test / CXX / temp / temp.res / temp.local / p9.cpp
blob9ca8d8877d7de2e5fe01bf89d205bfb953c3ec6a
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 struct A {
3 struct B { void f(); };
4 int a;
5 int Y;
6 };
8 template<class B, class a> struct X : A {
9 B b; // A's B
10 a c; // expected-error{{unknown type name 'a'}}
12 void g() {
13 b.g(); // expected-error{{no member named 'g' in 'A::B'}}