aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/testsuite/gcc.dg/tree-ssa/pr57385.c
blob: fc2146126c67b38faf935d7a9e7fb6210ad59fb7 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O1" } */

int c;

void foo(int f)
{
  int wbi=-100000000;
  c = (f ? "012346000000000000":"01345:000000006008")[wbi];
}