☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-87506.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-87506.C
code
plain
raw
1
// PR c++/87506
2
// { dg-do compile { target c++11 } }
3
4
struct A {};
5
struct B { constexpr B (const A) {} };
6
struct C : B { using B::B; };
7
8
void
9
foo ()
10
{
11
C c (A{});
12
}