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
/
Wno-c++-compat.c
blob
1fda016e66ea619b2c5ee77cc49c371e0d797faa
1
/* Copyright (C) 2005 Free Software Foundation.
2
3
by Gabriel Dos Reis <gdr@integrable-solutions.net> */
4
5
/* { dg-do compile } */
6
/* { dg-options "-Wno-c++-compat" } */
7
8
extern
const int
foo
=
42
;
/* { dg-warning "initialized and declared" } */
9