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-array10.C
blob
f7aaa4b943e2f037c95269b4126e8f75a31035d8
1
// PR c++/64899
2
// { dg-do compile { target c++11 } }
3
4
struct S
5
{
6
int i;
7
constexpr S (): i(42) {}
8
};
9
10
constexpr S sa[2];
11
#define SA(X) static_assert((X),#X)
12
SA(sa[1].i == 42);