blob: 2996a7cdb48c2c0d65d0a5d5312c8b0aba081857 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s
template <class T>
struct X : public Foo<Bar { // expected-error {{unknown template name 'Foo'}} expected-error {{use of undeclared identifier 'Bar'}}
X();
}; // expected-error {{expected '{' after base class list}}
template <class T>
X<T>::X() {
}