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
Fix PR c++/69139 (deduction failure with trailing return type)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array14.C
blob
b8eb08411c1e2c8362cce5e7c755d70652174321
1
// PR c++/66921
2
// { dg-do compile { target c++11 } }
3
4
template<typename T>
5
struct Holder {
6
constexpr static const int array[] = { 1, 2, 3 };
7
enum {F = array[0]};
8
};
9
class HI: public Holder<int> {};