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