summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/conv1.C
blob: 4fe02d3fa09f304b33b43c0606e1e07641d5a391 (plain)
1
2
3
4
5
6
// { dg-do assemble  }

class X {
public:
  const operator int (); // { dg-error "" } invalid declaration.
};