repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr65556.c
blob
8629a48fdceedf63eff26085d96c05362dfd025c
1
/* PR c++/65556 */
2
/* { dg-do compile } */
3
4
struct
S
5
{
6
long
l
:
1
;
7
long
l2
:
21
;
8
unsigned long
ul
:
1
;
9
unsigned long
ul2
:
21
;
10
}
s
;
11
12
void
13
fn
()
14
{
15
switch
(
s
.
l
)
16
case
0
:;
17
switch
(
s
.
ul
)
18
case
0
:;
19
switch
(
s
.
l2
)
20
case
0
:;
21
switch
(
s
.
ul2
)
22
case
0
:;
23
}