Debian Codegraph @

gcc/testsuite/g++.dg/parse/operator1.C

raw
1 /* PR c++/8982 */
2 /* { dg-do compile } */
3 namespace foo {
4 template<class X>
5 int operator- (X x);
6 }
7
8 int main() {
9 using foo::operator-; // syntax error under gcc 3.2
10 }
11