Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-incomplete3.C
blob: c0516f089e77b90a3120c4ef96c54f0cc884880f [
file
] [
log
] [
blame
]
// PR c++/49015
// { dg-do compile { target c++11 } }
class
A
;
class
B
{
friend
constexpr
B f
(
A
);
// Line 5
};
class
A
{};
constexpr
B f
(
A
)
{
return
B
();
}
// Line 10