Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.3.1
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error30.C
blob: 734a2552cb4296367005f702a6422b6c3d450523 [
file
] [
log
] [
blame
]
// PR c++/30854
// { dg-do compile }
struct
A
{
A
();
A
(
int
);
};
A a
=
-
A
();
// { dg-error "no match for.*operator-.*in.*-A\\(\\)" }
A b
=
-
A
(
5
);
// { dg-error "no match for.*operator-.*in.*-A\\(5\\)" }