From 18987000a92a44819c47763c2b5a959c5e0bedcd Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Sun, 29 Aug 1999 20:37:24 +0000 Subject: [PATCH] * gcc.c-torture/compile/990829-1.c: New test. From-SVN: r28975 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.c-torture/compile/990829-1.c | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/compile/990829-1.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bcffd34a3d5d..720751e034b0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 * 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 index 000000000000..2252821938eb --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/990829-1.c @@ -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); +}