* gcc.c-torture/compile/20050105-1.c: New test.
authorJakub Jelinek <jakub@redhat.com>
Wed, 5 Jan 2005 23:44:11 +0000 (00:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 5 Jan 2005 23:44:11 +0000 (00:44 +0100)
From-SVN: r92975

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20050105-1.c [new file with mode: 0644]

index 9f76f4b..69082c0 100644 (file)
@@ -1,3 +1,7 @@
+2005-01-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.c-torture/compile/20050105-1.c: New test.
+
 2005-01-05  Geoffrey Keating  <geoffk@apple.com>
 
        * gcc.dg/darwin-weakimport-2.c: Remove stray 'APPLE LOCAL' marker.
diff --git a/gcc/testsuite/gcc.c-torture/compile/20050105-1.c b/gcc/testsuite/gcc.c-torture/compile/20050105-1.c
new file mode 100644 (file)
index 0000000..16d18f3
--- /dev/null
@@ -0,0 +1,5 @@
+void bar (struct S *);
+void foo (void *x)
+{
+  bar ((struct S *) x);
+}