Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr30189.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-options "-g -O" } */ | |
3 | |
4 extern void foo (void); | |
5 | |
6 static | |
7 void baz (int i) | |
8 { | |
9 foo (); | |
10 typedef char A[i]; | |
11 struct { A b; } *x = 0; | |
12 } | |
13 | |
14 void | |
15 bar (int i) | |
16 { | |
17 baz (i); | |
18 } |