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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wcxx-compat-14.c
blob
23783711be66694efa36c7239eb667c02fbcfc32
1
/* { dg-do compile } */
2
/* { dg-options "-Wc++-compat" } */
3
4
char
a1
[] =
"a"
;
5
char
a2
[
1
] =
"a"
;
/* { dg-warning "C\[+\]\[+\]" } */
6
char
a3
[
2
] =
"a"
;