PR c++/57644 - [C++1y] Cannot bind bitfield to lvalue reference

2014-07-11  Edward Smith-Rowland  <3dw4rd@verizon.net>

	PR c++/57644 - [C++1y] Cannot bind bitfield to lvalue reference
	g++.dg/cpp0x/pr57644.C: New.

From-SVN: r212477
This commit is contained in:
Edward Smith-Rowland 2014-07-12 01:41:30 +00:00 committed by Edward Smith-Rowland
parent 8daac7749f
commit c35146e77f
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-07-11 Edward Smith-Rowland <3dw4rd@verizon.net>
PR c++/57644 - [C++1y] Cannot bind bitfield to lvalue reference
g++.dg/cpp0x/pr57644.C: New.
2014-07-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53159

View File

@ -0,0 +1,13 @@
// { dg-do compile { target c++1y } }
struct Foo
{
unsigned i: 32;
};
int
main()
{
Foo f{};
return f.i;
}