blob: b931ec97c0019a66246cea53a9fb1225d0df0d30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// PR c++/27506
enum EBorderStyle
{
BNATIVE, BHIDDEN
};
struct BorderValue
{
enum EBorderStyle style:8;
};
enum EBorderStyle f(const struct BorderValue *border)
{
return border ? border->style : BNATIVE;
}
|