2007-05-16 04:29:56 +08:00
|
|
|
// RUN: %llvmgcc -S %s -o - -fnested-functions
|
2007-05-16 04:40:25 +08:00
|
|
|
// 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];
|
|
|
|
}
|
|
|
|
}
|
2007-05-16 04:40:25 +08:00
|
|
|
|
|
|
|
void foo(void *a){
|
|
|
|
inline void foo_bar() {
|
|
|
|
a += 1;
|
|
|
|
}
|
|
|
|
}
|