Debian Codegraph @

gcc/testsuite/g++.dg/diagnostic/pr105483.C

raw
1 // PR c++/105483
2 // { dg-do compile }
3
4 struct X { };
5 void g () {
6 X::X x; // { dg-error "'X::X' names the constructor" }
7 }