| Eric Christopher | 85e5156 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s |
| 2 | |||||
| Eric Christopher | 4a8bc43 | 2011-07-26 22:27:01 +0000 | [diff] [blame] | 3 | // CHECK: getelementptr inbounds i32* %{{vla|[0-9]}} |
| Eric Christopher | 85e5156 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 4 | extern void f(int *); |
| 5 | int e(int m, int n) { | ||||
| 6 | int x[n]; | ||||
| 7 | f(x); | ||||
| 8 | return x[m]; | ||||
| 9 | } | ||||