diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr58707.C')
-rw-r--r-- | gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr58707.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr58707.C b/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr58707.C new file mode 100644 index 0000000..12f2e30 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr58707.C @@ -0,0 +1,6 @@ +// PR c++/58707 +// { dg-do compile { target c++11 } } + +template<int i> class TC { }; +constexpr int foo[] = { 42 }; +TC<foo[0 > 1]> bar; |