diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-11 09:38:11 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-11 09:38:11 +0000 |
commit | 7b2d73d20f320508b456ec69226a6a9fbfa2ce0b (patch) | |
tree | b78e996041a4edd6970ee5dfee676bb6da5fe34f /gcc | |
parent | bfb9a7fb1cd2ca13a12ec0933a12f62635114f99 (diff) | |
download | gcc-7b2d73d20f320508b456ec69226a6a9fbfa2ce0b.tar.gz |
* gcc.c-torture/execute/20010711-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43932 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20010711-1.c | 13 |
2 files changed, 17 insertions, 0 deletions
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 <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. 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); + } +} |