aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gm2/cse/pass/testcse7.c
blob: e7d204b2a8b6bb99d07c7d07ed71f9a12000c523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

struct m2string {
  char *contents;
  int HIGH;
};

typedef struct m2string STRING;
static inline void inline foo (STRING a) __attribute__ ((always_inline));


static void foo (STRING f)
{
  **((char **)&f) = 'g';
}

void init (STRING a)
{
  foo(a);
}