change dag isel emitter to only call 'IsProfitableToFold' on nodes
[oota-llvm.git] / test / FrontendC / 2007-12-VarArrayDebug.c
1 // RUN: %llvmgcc -S -g -O %s -o - | llc
2 // RUN: %llvmgcc -S -g %s -o - | llc
3
4 extern void foo (void);
5
6 static
7 void baz (int i)
8 {
9   foo ();
10   typedef char A[i];
11   struct { A b; } *x = 0;
12 }
13
14 void
15 bar (i)
16 {
17   baz (i);
18 }