Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
op1.C
blob: dd7ac2f9cec0e22b1237f2141e3e034569203330 [
file
] [
log
] [
blame
]
class
C
{
template
<
typename
U
>
operator
U
();
// { dg-message "note" }
};
int
fn
(
C c
)
{
return
C
::
operator
float
(
c
);
// { dg-error "operator float.C" }
}