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
Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla16.C
blob
fa51feed8f31b6f73c41004397130453d5a299bb
1
// PR c++/72766
2
// { dg-options "-Wno-vla" }
3
4
long fn1() {
5
const int a = fn1();
6
int b[a];
7
int c = *(&b[0] + sizeof(0));
8
9
return 0;
10
}