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
Improve compatibility with older versions of Windows.
[llvm/msp430.git]
/
test
/
FrontendC
/
nested-functions.c
blob
bccbef3dbdd8655ed8562b3c4f8731d16ba805c5
1
// RUN: %llvmgcc -S %s -o - -fnested-functions
2
// PR1274
3
4
void
Bork
() {
5
void
Fork
(
const int
*
src
,
int
size
) {
6
int
i
=
1
;
7
int
x
;
8
9
while
(
i
<
size
)
10
x
=
src
[
i
];
11
}
12
}
13
14
void
foo
(
void
*
a
){
15
inline
void
foo_bar
() {
16
a
+=
1
;
17
}
18
}