Sign in
gnu
/
gcc
/
bcb39cf3aebfb615fec0639e7b55aad9d3b6e1f6
/
.
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr66180_0.C
blob: c22dc284b1bd8bb1fb272f90774fc7e53b33edf0 [
file
] [
log
] [
blame
]
// { dg-lto-do link }
// { dg-lto-options { { -flto -std=c++14 -r -nostdlib } } }
#include
<memory>
namespace
{
class
A
{
int
i
;
};
}
class
G
{
std
::
unique_ptr
<
A
>
foo
()
const
;
};
std
::
unique_ptr
<
A
>
G
::
foo
()
const
{
return
std
::
make_unique
<
A
>();
}