OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / operator9.C
1 //PR c++/27670
2
3 template<operator+> void foo(); // { dg-error "before|non-function|template" }
4
5 void bar()
6 {
7   foo();                        // { dg-error "no matching function" }
8 }
9