repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
FrontendC
/
2006-01-13-StackSave.c
blob
dfe00fbde3301ed11030983d7c1951887b505f01
1
// PR691
2
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
3
// RUN: llvm-dis | grep llvm.stacksave
4
5
void
test
(
int
N
) {
6
int
i
;
7
for
(
i
=
0
;
i
<
N
; ++
i
) {
8
int
VLA
[
i
];
9
external
(
VLA
);
10
}
11
}