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-string.C
blob
41fa4664ed68ed288196ee20b31c7faeb21f0b90
1
// { dg-do compile { target c++11 } }
2
3
constexpr char c1 = "hi"[1];
4
constexpr char c2 = "hi"[2];
5
constexpr char c3 = "hi"[3]; // { dg-error "array subscript" }