c++: Implement for namespace statics CWG 2867 - Order of initialization for structure...
[official-gcc.git] / gcc / testsuite / gcc.dg / pr102463.c
blobca63f0b8767dc8ec034f3e23d0111eccfaaa1352
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 _Bool _bfd_elf_merge_symbol_h, _bfd_elf_merge_symbol_h_1;
5 _Bool _bfd_elf_merge_symbol_olddef;
6 _Bool bfd_is_com_section();
8 void
9 _bfd_elf_merge_symbol() {
10 _Bool newdef = bfd_is_com_section(), ntdef, tdef;
11 _bfd_elf_merge_symbol_olddef = _bfd_elf_merge_symbol_h;
12 if (_bfd_elf_merge_symbol_h_1) {
13 ntdef = newdef;
14 tdef = _bfd_elf_merge_symbol_h;
15 } else {
16 ntdef = _bfd_elf_merge_symbol_h;
17 tdef = newdef;
19 if (tdef && ntdef)