2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / Wno-c++-compat.c
blob1fda016e66ea619b2c5ee77cc49c371e0d797faa
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-warning "initialized and declared" } */