llvm-project/clang/test/CodeGen/2004-05-07-VarArrays.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
113 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
int foo(int len, char arr[][len], int X) {
return arr[X][0];
}