summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/pure1.C
blob: 68dbe6bf0f5355ba09c646a4b30aace09b759d70 (plain)
1
2
3
4
5
6
// PR c++/26122

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