Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.3.1
/
gcc
/
testsuite
/
g++.dg
/
template
/
operator10.C
blob: b17f49fa9f70e8a36d4ec8b43350b7334377f456 [
file
] [
log
] [
blame
]
// PR c++/30535
struct
A
{};
template
<
A
,
typename
T
>
int
operator
-(
A
,
T
);
// { dg-error "not a valid type" }
int
i
=
A
()
-
0
;
// { dg-error "no match" }