Add testcase for 69a46b0

that fixed mingw but also fixed the problem for which the testcase
is now added.
This commit is contained in:
Michael Matz 2019-06-17 19:08:08 +02:00
parent fe23a14ebb
commit 3980e4a5b9
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,12 @@
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;
}

View File

@ -0,0 +1,2 @@
f
f