OSDN Git Service

Some raw string changes from N3077
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / operator1.C
1 // PR c++/27547
2 // { dg-do compile }
3
4 int operator=(int);  // { dg-error "member function" }
5
6 void foo()
7 {
8   operator=(0);  // { dg-error "not defined" }
9 }