summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-12-VarArrayDebug.c
blob: 966789eef30daa10d2281e64577a614e444521f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: %llvmgcc -S -g -O %s -o - | llc
// RUN: %llvmgcc -S -g %s -o - | llc

extern void foo (void);

static
void baz (int i)
{
  foo ();
  typedef char A[i];
  struct { A b; } *x = 0;
}

void
bar (i)
{
  baz (i);
}