From 4a1b6176b867d97515f9b09ce5ec4ab63e664520 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 11 Jul 2001 09:38:11 +0000 Subject: [PATCH] * gcc.c-torture/execute/20010711-1.c: New test. From-SVN: r43932 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.c-torture/execute/20010711-1.c | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/execute/20010711-1.c 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); + } +} -- 2.30.2