summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wc++-compat.c
blob: aa435be9f3e10f0b80d6b859c56fe65efdfda6bd (plain)
1
2
3
4
5
6
7
8
9
/* Copyright (C) 2005  Free Software Foundation.

   by Gabriel Dos Reis  <gdr@integrable-solutions.net>  */

/* { dg-do compile }  */
/* { dg-options "-Wc++-compat" } */

extern const int foo = 42;