repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ref9.C
blob
97f88fefc6e8abd50af8c6fbfbc0177900f83882
1
// { dg-do compile { target c++11 } }
2
3
int a[2] = { 1, 2 };
4
5
int main()
6
{
7
auto &r = a;
8
static_assert (&r[0] == &a[0], "");
9
}