OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-base2.C
1
// PR c++/46293
2
// { dg-options -std=c++0x }
3
4
struct A
5
{
6
};
7
8
struct C
9
{
10
int i;
11
constexpr C(int i): i(i) {}
12
};
13
14
struct B: A, C
15
{
16
constexpr B(): A(), C(42) { }
17
};
18
19
constexpr B b{};