Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr34668-1.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 /* PR c/34668 */ | |
2 /* { dg-do link } */ | |
3 /* { dg-require-effective-target lto } */ | |
4 /* { dg-options "-flto -O2" } */ | |
5 /* { dg-additional-sources "pr34668-2.c" } */ | |
6 | |
7 struct optab { unsigned code; }; | |
8 struct optab optab_table[1]; | |
9 | |
10 void | |
11 init_optab (struct optab *op) | |
12 { | |
13 op->code = 0xdead; | |
14 } | |
15 | |
16 void | |
17 set_conv_libfunc (void) | |
18 { | |
19 init_optab (&optab_table[0]); | |
20 } | |
21 | |
22 int main() { return 0; } |