aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr58707.C
blob: 12f2e309788ebe0f30ab5a97de10b9aa6495a3b1 (plain)
1
2
3
4
5
6
// PR c++/58707
// { dg-do compile { target c++11 } }

template<int i> class TC { };
constexpr int foo[] = { 42 };
TC<foo[0 > 1]> bar;