OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[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" }