OSDN Git Service

* lib/lto.exp (lto_prune_vis_warns): Renamed to lto_prune_warns.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / conversion / ambig1.C
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" }