summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/operator5.C
blob: 3e453bdf3581283ae7e71cb0a1fedc744cf19d8c (plain)
1
2
3
4
5
6
7
// PR c++/17685

struct S {
  operator int; // { dg-error "" }
  operator void; // { dg-error "" }
};