Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
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" }