Commit f29468a7 by Jakub Jelinek Committed by Jakub Jelinek

* g++.dg/cpp0x/ref-qual17.C: New test.

From-SVN: r237488
parent c4468fc3
2016-06-15 Jakub Jelinek <jakub@redhat.com>
* g++.dg/cpp0x/ref-qual17.C: New test.
2016-06-15 Ilya Enkovich <ilya.enkovich@intel.com>
PR middle-end/71529
......
// { dg-do compile { target c++11 } }
struct A
{
void foo () &;
};
void
bar (__UINTPTR_TYPE__ a)
{
reinterpret_cast<A *>(a)->foo ();
}
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