* gcc.c-torture/execute/20010711-1.c: New test.
From-SVN: r43932
This commit is contained in:
parent
b5265b3276
commit
4a1b6176b8
|
@ -1,3 +1,7 @@
|
|||
2001-07-11 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* gcc.c-torture/execute/20010711-1.c: New test.
|
||||
|
||||
2001-07-11 Ben Elliston <bje@redhat.com>
|
||||
|
||||
* g++.old-deja/g++.other/enum5.C: New test.
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
void foo (int *a) {}
|
||||
|
||||
int main ()
|
||||
{
|
||||
int a;
|
||||
if (&a == 0)
|
||||
abort ();
|
||||
else
|
||||
{
|
||||
foo (&a);
|
||||
exit (0);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue