view gcc/testsuite/g++.dg/opt/fold1.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

// PR middle-end/13696
// { dg-do compile }
// { dg-options "-O2" }

extern void x(unsigned long*);

enum e { red, blue, green };

struct s {
  unsigned long l;
};
struct s map[1][256];

void
f(int i,e j) {
     x(&(map[i][j].l));
}