summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash50.C
blob: 0060561282f135be95da49901f0a28f732c138f7 (plain)
1
2
3
4
5
6
7
// PR c++/27398
// { dg-do compile }

struct A
{
  template<int> void* foo(; // { dg-error "primary-expression|initialization|static" }
};