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
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
bitfld1.C
blob
f75df38a495fb383e04502c9e26b0041b7a3f08d
1
// PR c++/46001
2
// { dg-do compile }
3
4
struct S
5
{
6
char *p;
7
unsigned char f : 1;
8
};
9
10
struct S s;
11
void *a = s.p | s.f; // { dg-error "unsigned char:1" }
12
13
// { dg-bogus "__java_boolean" "" { target *-*-* } 11 }