Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
operator10.C
blob: 432fecdc3ac643d2902339db93d4db994228bd8b [
file
] [
log
] [
blame
]
// PR c++/30535
// { dg-prune-output "note" }
struct
A
{};
template
<
A
,
typename
T
>
int
operator
-(
A
,
T
);
// { dg-error "class type" "" { target c++17_down } }
int
i
=
A
()
-
0
;
// { dg-error "no match" }