repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-inhctor1.C
blob
98691101e860b90d6779cceaeb48ac479b0b9730
1
// PR c++/58511
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
constexpr A(int, int = i) {}
7
static const int i;
8
};
9
10
struct B : A
11
{
12
using A::A; // { dg-prune-output "A::i" }
13
};
14
15
constexpr B b(0); // { dg-error "" }