1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/FrontendC/nested-functions.c

19 lines
249 B
C
Raw Normal View History

2007-05-15 22:29:56 +02:00
// RUN: %llvmgcc -S %s -o - -fnested-functions
// PR1274
2007-05-15 22:29:56 +02:00
void Bork() {
void Fork(const int *src, int size) {
int i = 1;
int x;
while (i < size)
x = src[i];
}
}
void foo(void *a){
inline void foo_bar() {
a += 1;
}
}