Commit c35146e7 by Edward Smith-Rowland Committed by Edward Smith-Rowland

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
parent 8daac774
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
......
// { dg-do compile { target c++1y } }
struct Foo
{
unsigned i: 32;
};
int
main()
{
Foo f{};
return f.i;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment