added test related to issue #1145

This commit is contained in:
mrdudz 2020-08-18 00:41:07 +02:00
parent cf41fccc0a
commit 6d8860b9de
1 changed files with 13 additions and 0 deletions

13
test/err/bug1145.c Normal file
View File

@ -0,0 +1,13 @@
/* bug #1145 - Internal error with function type object */
void f()
{
f = 0; /* internal error */
}
int main(void)
{
f();
return 0;
}