// PR c++/26122

struct A
{
  template<int> void foo() = 1; // { dg-error "pure" }
};


syntax highlighted by Code2HTML, v. 0.9.1