[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / Wcxx-compat-14.c
blob23783711be66694efa36c7239eb667c02fbcfc32
1 /* { dg-do compile } */
2 /* { dg-options "-Wc++-compat" } */
4 char a1[] = "a";
5 char a2[1] = "a"; /* { dg-warning "C\[+\]\[+\]" } */
6 char a3[2] = "a";