aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/lto/20081204-1_0.c
blob: 0c3849f6182793c91bbd3a42f6f09ed0f9bbdbfb (plain)
1
2
3
4
5
6
7
8
/* { dg-lto-do link } */
/* { dg-require-effective-target fpic } */
/* { dg-lto-options {{-flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */

/* Tests for the absence during linking of:
   lto1: error: type of 'i' does not match original declaration  */

const int i[1];