blob: 1bbc7f45f8d42aef706a006c66132003745cb01b [file] [log] [blame]
/* The 3 constant initializers should be uniquized. */
/* { dg-lto-do run } */
/* { dg-lto-options {{-Os -flto -flto-partition=none} {-Os -flto -flto-partition=1to1} } } */
int lookup1 (int i)
{
int a[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
return a[i];
}
int lookup2 (int i)
{
int a[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
return a[i+1];
}