]>
Commit | Line | Data |
---|---|---|
58f7fcc3 UB |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-O2" } */ | |
3 | ||
4 | extern int *stderr; | |
5 | ||
6 | void f (int *, const char *, ...); | |
7 | ||
8 | void g (const char *conf_name) | |
9 | { | |
10 | typedef struct | |
11 | { | |
12 | const char *label; | |
13 | const int value; | |
14 | } Section; | |
15 | ||
16 | const Section sections[2] = { {"", 0}, {"", 1} }; | |
17 | ||
18 | f (stderr, "", "", conf_name, 0, sections[0]); | |
19 | f (stderr, "", "", conf_name, 0, sections[0]); | |
20 | } |