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
MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
biterrors4.d
blob
0f2ca2d0d3fccffc9c330b8b958abcbc3bb0b6c0
1
/* REQUIRED_ARGS: -preview=bitfields
2
* TEST_OUTPUT:
3
---
4
fail_compilation/biterrors4.d(109): Error: cannot take address of bit-field `a`
5
---
6
*/
7
8
#line
100
9
10
struct
S
11
{
12
int
a
:
3
;
13
}
14
15
void
test
()
16
{
17
S s
;
18
int
*
p
= &
s
.
a
;
19
}