* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / Wno-c++-compat.c
blobb1f3cf26f5792321c3684e668a1afe2c9bc92325
1 /* Copyright (C) 2005 Free Software Foundation.
3 by Gabriel Dos Reis <gdr@integrable-solutions.net> */
5 /* { dg-do compile } */
6 /* { dg-options "-Wno-c++-compat" } */
8 extern const int foo = 42; /* { dg-error "initialized and declared" } */