☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
ref-qual17.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/ref-qual17.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
3
struct A
4
{
5
void foo () &;
6
};
7
8
void
9
bar (__UINTPTR_TYPE__ a)
10
{
11
reinterpret_cast<A *>(a)->foo ();
12
}