☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-incomplete3.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-incomplete3.C
code
plain
raw
1
// PR c++/49015
2
// { dg-do compile { target c++11 } }
3
4
class A;
5
6
class B {
7
friend constexpr B f(A); // Line 5
8
};
9
10
class A {};
11
12
constexpr B f(A) { return B(); } // Line 10