[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / 20031218-1.c
blob87cc1059fa8f4e22cd08898ca17520b828cfac8f
1 /* Orgin: v.haisman@sh.cvut.cz
2 Reduced by: Wolfgang Bangerth <bangerth@dealii.org>
3 PR debug/12923 ICE in gen_subprogram_die with -O1 -g
4 The problem was that this just to ICE with -O1 -g. */
6 /* { dg-do compile } */
7 /* { dg-options "-O -g" } */
9 struct S {
10 unsigned n;
13 inline void foo (struct S * mx) {
14 mx->n = 1;
17 void bar () {
18 foo (0);