summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/opt/pr27826.C
blob: 5e40f1746f98990233d4e5c680607f61198c1c22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O3" } */

struct Geometry
{
        int type:16;
};
struct Geometry get() {};
int f()
{
        struct Geometry test;
        return get().type == test.type;
}