New test.
From-SVN: r19587
This commit is contained in:
parent
cc1328655c
commit
5fe8708c3c
26
gcc/testsuite/gcc.c-torture/execute/980506-1.c
Normal file
26
gcc/testsuite/gcc.c-torture/execute/980506-1.c
Normal file
@ -0,0 +1,26 @@
|
||||
struct decision
|
||||
{
|
||||
char enforce_mode;
|
||||
struct decision *next;
|
||||
};
|
||||
|
||||
|
||||
static void
|
||||
clear_modes (p)
|
||||
register struct decision *p;
|
||||
{
|
||||
goto blah;
|
||||
|
||||
foo:
|
||||
p->enforce_mode = 0;
|
||||
blah:
|
||||
if (p)
|
||||
goto foo;
|
||||
}
|
||||
|
||||
main()
|
||||
{
|
||||
struct decision *p = 0;
|
||||
clear_modes (p);
|
||||
exit (0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user