From: Kazu Hirata Date: Fri, 4 Jul 2003 22:55:07 +0000 (+0000) Subject: * gcc.c-torture/compile/20030704-1.c: New. X-Git-Tag: releases/gcc-3.4.0~5154 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9037065f510b871d42749e81a545b0d743bb7c36;p=thirdparty%2Fgcc.git * gcc.c-torture/compile/20030704-1.c: New. From-SVN: r68943 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8f9b5f557c07..e15ec2b80747 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-07-04 Kazu Hirata + + * gcc.c-torture/compile/20030704-1.c: New. + 2003-07-04 Kazu Hirata * gcc.dg/compat/fnptr-by-value-1_x.c: Add a prototype for testva. diff --git a/gcc/testsuite/gcc.c-torture/compile/20030704-1.c b/gcc/testsuite/gcc.c-torture/compile/20030704-1.c new file mode 100644 index 000000000000..b757f6db10b8 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20030704-1.c @@ -0,0 +1,11 @@ +/* PR c/11428. */ + +struct s { + int m : 1; +}; + +int +foo (struct s *p) +{ + return !p->m; +}