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:
parent
8daac7749f
commit
c35146e77f
|
@ -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
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
// { dg-do compile { target c++1y } }
|
||||
|
||||
struct Foo
|
||||
{
|
||||
unsigned i: 32;
|
||||
};
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
Foo f{};
|
||||
return f.i;
|
||||
}
|
Loading…
Reference in New Issue