diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr33693.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr33693.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr33693.c b/gcc/testsuite/gcc.dg/pr33693.c new file mode 100644 index 00000000000..147c164c4b4 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr33693.c @@ -0,0 +1,8 @@ +/* { dg-do compile } */ + +/* This used to ICE with type-checking enabled. */ + +unsigned long modify_field (unsigned long mask, long fieldval) +{ + return (~fieldval & ~mask); +} |