Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
operators21.C
blob: e6d77c3295bffdd706040da316417f82166449fc [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed operators
struct
A
{
int
x
;
};
int
operator
()(
A x
,
float
y
)
{
// { dg-error "" } .*
return
1
;
}
int
main
()
{
A x
;
x
(
1.0
);
// { dg-error "" } no match
}