Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/lto/20081224_0.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-lto-do link } */ | |
2 /* { dg-require-effective-target fpic } */ | |
3 /* { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib -fPIC}} } */ | |
4 #include "20081224_0.h" | |
5 | |
6 extern struct foo x; | |
7 | |
8 void f(void) { | |
9 x.x = 0; | |
10 } |