From: Richard Sandiford Date: Wed, 11 Jul 2001 09:38:11 +0000 (+0000) Subject: * gcc.c-torture/execute/20010711-1.c: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a1b6176b867d97515f9b09ce5ec4ab63e664520;p=gcc.git * gcc.c-torture/execute/20010711-1.c: New test. From-SVN: r43932 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5dfb7eaa297..aa516e210f5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-07-11 Richard Sandiford + + * gcc.c-torture/execute/20010711-1.c: New test. + 2001-07-11 Ben Elliston * g++.old-deja/g++.other/enum5.C: New test. diff --git a/gcc/testsuite/gcc.c-torture/execute/20010711-1.c b/gcc/testsuite/gcc.c-torture/execute/20010711-1.c new file mode 100644 index 00000000000..12971a55a15 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20010711-1.c @@ -0,0 +1,13 @@ +void foo (int *a) {} + +int main () +{ + int a; + if (&a == 0) + abort (); + else + { + foo (&a); + exit (0); + } +}