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-template9.C
blob
2ca641d77e3403c72abcca28cbc584361f9540ec
1
// PR c++/70543
2
// { dg-do compile { target c++11 } }
3
4
template <typename>
5
struct X
6
{
7
template <unsigned int = 0>
8
static constexpr int
9
calc (void)
10
{
11
return 0;
12
}
13
14
static constexpr unsigned int value = calc ();
15
16
char foo[value];
17
};