repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-10-23 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
unary4.C
blob
2b58a8dc2cb1885a92b569b71db075967b5c718c
1
// PR c++/84940
2
// { dg-additional-options -Wno-vla }
3
4
void
5
foo (int x)
6
{
7
struct {} a[1][x](-a[0]); // { dg-error "wrong type argument to unary minus" }
8
}