mirror of
https://github.com/mirror/tinycc.git
synced 2025-02-08 06:40:11 +08:00
22 lines
230 B
C
22 lines
230 B
C
|
#include <stdio.h>
|
||
|
|
||
|
/* This test segfaults as of April 27, 2015. */
|
||
|
|
||
|
void f(int argc)
|
||
|
{
|
||
|
char test[argc];
|
||
|
if(0)
|
||
|
label:
|
||
|
printf("boom!\n");
|
||
|
if(argc-- == 0)
|
||
|
return;
|
||
|
goto label;
|
||
|
}
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
f(2);
|
||
|
|
||
|
return 0;
|
||
|
}
|