Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
ambig1.C
blob: 1db1667073fe933c72f4ff313dbd586b305daf6d [
file
] [
log
] [
blame
]
// PR c++/19787
struct
H
{
operator
char
();
// { dg-message "note" }
operator
short
();
// { dg-message "note" }
};
int
const
&
ref
=
H
();
// { dg-error "ambiguous" }