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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-initlist10.C
blob
c12347dcc807bf6fe1170b1a529bfed8c457d4e1
1
// PR c++/70648
2
// { dg-do compile { target c++11 } }
3
4
struct C
5
{
6
template <class... U>
7
constexpr C (...) : c { static_cast<U &&>(0)... } {}
8
int c[1];
9
};
10
11
static constexpr int b = C{}.c[0];