aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp1y/pr57644.C
blob: 080572168dde73350c59be2cb64a4e3c71260de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do compile { target c++1y } }

struct Foo
{
  unsigned i: 32;
};

int
main()
{
  Foo f{};
  return f.i;
}