OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* store-layout.c (finish_record_layout): Add free_p parameter.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
bitfield5.C
1
// { dg-do compile }
2
// { dg-options "-Wabi" }
3
4
struct A {
5
virtual void f();
6
int f1 : 1;
7
};
8
9
struct B : public A {
10
int f2 : 1; // { dg-warning "ABI" }
11
int : 0;
12
int f3 : 4;
13
int f4 : 3;
14
};