llvm-project/llvm/test/FrontendC/nested-functions.c

19 lines
249 B
C
Raw Normal View History

2007-05-16 04:29:56 +08:00
// RUN: %llvmgcc -S %s -o - -fnested-functions
// PR1274
2007-05-16 04:29:56 +08: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;
}
}