summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-02-04-AddrLValue.c
blob: c8b65a946f5ee52c0913f9e9ba05d6b48f0ff9b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// RUN: %llvmgcc %s -O3 -S -o - -emit-llvm
// PR1176

typedef struct
{
  char *key;
  char *value;
} T1;

typedef struct
{
  long type;
  char *value;
} T3;

T1 a[] =
{
  {
    "",
    ((char *)&((T3) {1, (char *) 1}))
  }
};