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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr58707.C
blob
12f2e309788ebe0f30ab5a97de10b9aa6495a3b1
1
// PR c++/58707
2
// { dg-do compile { target c++11 } }
3
4
template<int i> class TC { };
5
constexpr int foo[] = { 42 };
6
TC<foo[0 > 1]> bar;