From: Alan Modra Date: Thu, 19 Feb 2004 08:02:59 +0000 (+0000) Subject: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19037b5c9e4647b07708e2414deee35c02b21f0a;p=gcc.git New test. From-SVN: r78080 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1e5ba50b21a..da6f91b3c2c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-02-19 Alan Modra + + * gcc.c-torture/compile/complex-1.c: New. + 2004-02-19 Hans-Peter Nilsson PR target/14209 diff --git a/gcc/testsuite/gcc.c-torture/compile/complex-1.c b/gcc/testsuite/gcc.c-torture/compile/complex-1.c new file mode 100644 index 00000000000..6ba9f04694d --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/complex-1.c @@ -0,0 +1,12 @@ +extern void u (int, int); +extern void v (float, float); + +void f (__complex__ int x) +{ + u (0, x); +} + +void g (__complex__ float x) +{ + v (0, x); +}