Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-87506.C
blob: 62d2ddcdcf5f2918f89c325967606c076b0898b7 [
file
] [
log
] [
blame
]
// PR c++/87506
// { dg-do compile { target c++11 } }
struct
A
{};
struct
B
{
constexpr
B
(
const
A
)
{}
};
struct
C
:
B
{
using
B
::
B
;
};
void
foo
()
{
C c
(
A
{});
}