OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/51475 - ICE with invalid initializer-list
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array-tparm.C
1
// { dg-options -std=c++0x }
2
3
template <const int I[2]> struct A { int ir[I[0]]; };
4
extern constexpr int ar[2] = { 1, 2 };
5
A<ar> a;