diff options
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20050603-2.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20050603-2.c b/gcc/testsuite/gcc.c-torture/execute/20050603-2.c deleted file mode 100644 index b923c22..0000000 --- a/gcc/testsuite/gcc.c-torture/execute/20050603-2.c +++ /dev/null @@ -1,20 +0,0 @@ -/* { dg-do run } */ -#include <stdlib.h> -struct s { - unsigned short f: 16; - unsigned short y: 8; - unsigned short g: 2; - unsigned int x; -}; - -void set (struct s*, int) __attribute__((noinline)); -void set (struct s* p, int flags) { - p->g = flags << 1; -} -main() { - struct s foo = {0 , 0, 3, 0}; - set (&foo, -1); - if (foo.g != 2) - abort(); - return 0; -} |