Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
ref-qual17.C
blob: 45ed2a169f0ca94ff9ba97b8d28c486b65189cd7 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
A
{
void
foo
()
&;
};
void
bar
(
__UINTPTR_TYPE__ a
)
{
reinterpret_cast
<
A
*>(
a
)->
foo
();
}