Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / operator9.C
blob35be778765a4eeece1497ce002c44e1aca54f2eb
1 //PR c++/27670
3 template<operator+> void foo(); // { dg-error "before|non-function|template" }
5 void bar()
7   foo();                        // { dg-error "no matching function" }
8   // { dg-message "candidate" "candidate note" { target *-*-* } 7 }