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
libstdc++: [_Hashtable] Fix some implementation inconsistencies
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array24.C
blob
538969830bac19aa7632a2bb97efa6bfce4ee9ad
1
// PR c++/90951
2
// { dg-do compile { target c++11 } }
3
4
#define assert(expr) static_assert (expr, #expr)
5
6
struct S { const char a[2]; };
7
8
constexpr struct S a[1][1][1] = { };
9
10
assert ('\0' == *a[0][0][0].a);