gcc/testsuite/g++.dg/cpp1y/pr78774.C
raw| 1 | // PR c++/78774 - [6/7 Regression] ICE in constexpr string literals and |
| 2 | // templates |
| 3 | // { dg-do compile { target c++14 } } |
| 4 | |
| 5 | template <int> struct ops { |
| 6 | template <int> struct A; |
| 7 | template <int *Ptr> using explode = typename A<*Ptr>::join; |
| 8 | }; |
| 9 | template <typename Ts> typename ops<'\0'>::explode<Ts::join>::type a; |