Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
{});
}