☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
pr60943.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/pr60943.C
code
plain
raw
1
// { dg-options "-std=c++14" }
2
3
struct A {
4
auto f() & {}
5
auto f() && {}
6
};
7
8
void Foo (A &a)
9
{
10
a.f();
11
}
12
13
void Bar ()
14
{
15
A{}.f ();
16
}