2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr34668-1.c
blob7e242c294c7bbd81a83747d2f83d4693c750820f
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" } */
7 struct optab { unsigned code; };
8 struct optab optab_table[1];
10 void
11 init_optab (struct optab *op)
13 op->code = 0xdead;
16 void
17 set_conv_libfunc (void)
19 init_optab (&optab_table[0]);
22 int main() { return 0; }