tinycc/tests/tests2/105_local_extern.c
Michael Matz 3980e4a5b9 Add testcase for 69a46b0
that fixed mingw but also fixed the problem for which the testcase
is now added.
2019-06-17 19:08:08 +02:00

13 lines
213 B
C

extern int printf(const char *, ...);
void f(void);
void bar(void) { void f(void); f(); }
void foo(void) { extern void f(void); f(); }
void f(void) { printf("f\n"); }
int main()
{
bar();
foo();
return 0;
}