* gcc.c-torture/compile/990829-1.c: New test.
authorJeffrey A Law <law@cygnus.com>
Sun, 29 Aug 1999 20:37:24 +0000 (20:37 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 29 Aug 1999 20:37:24 +0000 (14:37 -0600)
From-SVN: r28975

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

index bcffd34a3d5d7b5243cd40f820c33a56950dbcab..720751e034b0b27b44c8c665178fd489c9780b67 100644 (file)
@@ -1,3 +1,7 @@
+Sun Aug 29 14:35:41 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * gcc.c-torture/compile/990829-1.c: New test.
+
 1999-08-27  Paul Burchard  <burchard@pobox.com>
 
        * g++.old-deja/g++.pt/derived3.C: Renamed from lss-001.C.
diff --git a/gcc/testsuite/gcc.c-torture/compile/990829-1.c b/gcc/testsuite/gcc.c-torture/compile/990829-1.c
new file mode 100644 (file)
index 0000000..2252821
--- /dev/null
@@ -0,0 +1,13 @@
+struct x
+{
+  int a:16;
+  int b:16;
+  int c;
+};
+
+bar()
+{
+  struct x y;
+  y.b = 1 < y.a;
+  foo(&y);
+}