summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/operator7.C
blob: 59c8b356cc72eed45e4a17e6f1a79ab5220c3e30 (plain)
1
2
3
4
5
6
7
//PR c++/27493
// { dg-options "-std=gnu++98" }

template<operator T> void foo()         // { dg-error "before|template" }
{
  struct A {};
}