gcc/testsuite/gcc.dg/lto/20081204-1_0.c
raw| 1 | /* { dg-lto-do link } */ |
| 2 | /* { dg-require-effective-target fpic } */ |
| 3 | /* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */ |
| 4 | /* { dg-extra-ld-options "-flinker-output=nolto-rel" } */ |
| 5 | |
| 6 | /* Tests for the absence during linking of: |
| 7 | lto1: error: type of 'i' does not match original declaration */ |
| 8 | |
| 9 | const int i[1]; |