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

int c;

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