From: kazu Date: Fri, 4 Jul 2003 22:55:07 +0000 (+0000) Subject: * gcc.c-torture/compile/20030704-1.c: New. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c90f9bed22b918c3c83ea6e76009c881add77d9;p=thirdparty%2Fgcc.git * gcc.c-torture/compile/20030704-1.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68943 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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; +}