mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 18:36:05 +00:00

Conversion performed using the script at: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only tests where no manual fixup was required.
10 lines
192 B
C
10 lines
192 B
C
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
|
|
|
|
// CHECK: getelementptr inbounds i32, ptr %{{vla|[0-9]}}
|
|
extern void f(int *);
|
|
int e(int m, int n) {
|
|
int x[n];
|
|
f(x);
|
|
return x[m];
|
|
}
|