blob: d4bf79830304ec32cea18cf16402fd74a43f6255 [file] [log] [blame]
struct X {};
template <int>
struct Base {
static void foo () {
X::NONEXISTENT (); // { dg-error "" }
}
};
int main () {
Base<2>::foo ();
}