Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/bitfld-19.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Test for bit-field widths not integer constant expressions but | |
2 folding to integer constants: PR 42439. */ | |
3 /* { dg-do compile } */ | |
4 /* { dg-options "-O2" } */ | |
5 | |
6 void | |
7 f (void) | |
8 { | |
9 const int m = 1; | |
10 ((void)(sizeof(struct { int i:!!m; }))); | |
11 } |