// PR c++/26122 struct A { template void foo() = 1; // { dg-error "pure" } };