☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-__func__2.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-__func__2.C
code
plain
raw
1
// PR c++/82029
2
// { dg-do compile { target c++11 } }
3
4
template <typename> struct A {
5
void m_fn1() {
6
[] { return __func__; }();
7
}
8
};
9
struct B {
10
A<int> a;
11
void m_fn2();
12
};
13
void B::m_fn2() { a.m_fn1(); }