Debian Codegraph @

gcc/testsuite/g++.dg/conversion/ambig1.C

raw
1 // PR c++/19787
2
3 struct H {
4 operator char(); // { dg-message "note" }
5 operator short(); // { dg-message "note" }
6 };
7
8 int const& ref = H(); // { dg-error "ambiguous" }