1 // PR c++/17685
2 
3 struct S {
4   operator int; // { dg-error "" }
5   operator void; // { dg-error "" }
6 };
7 
8