Duncan Sands | d14e9e7 | 2009-03-01 15:01:51 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | grep {getelementptr \\\[0 x i32\\\]} |
Duncan Sands | 6852c61 | 2007-04-16 21:13:57 +0000 | [diff] [blame] | 2 | extern void f(int *); |
3 | int e(int m, int n) { | ||||
4 | int x[n]; | ||||
5 | f(x); | ||||
6 | return x[m]; | ||||
7 | } |