blob: d9566a7e0994d849674b3c25ba479ea3a3001b2b [file] [log] [blame]
template <typename X>
class Foo {
int i;
public:
Foo() {
X::explode(); // { dg-error "" }
}
};
class Bar {
Foo<int> foo_;
public:
Bar() {} // { dg-error "instantiated" }
};
template class Foo<int>;