Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
expr
/
unary4.C
blob: 2b58a8dc2cb1885a92b569b71db075967b5c718c [
file
] [
log
] [
blame
]
// PR c++/84940
// { dg-additional-options -Wno-vla }
void
foo
(
int
x
)
{
struct
{}
a
[
1
][
x
](-
a
[
0
]);
// { dg-error "wrong type argument to unary minus" }
}