re PR c++/78334 ([C++1z] P0127R2 related ICE: Segmentation fault)

PR c++/78334

	* g++.dg/cpp1z/nontype-auto7.C: New.

From-SVN: r245174
This commit is contained in:
Jason Merrill 2017-02-03 18:19:46 -05:00
parent f589a1ce25
commit fb07bf8800
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
// PR c++/78334
// { dg-options -std=c++1z }
template <auto> auto constexpr_string([](auto) {});
void foo() { constexpr_string<0>(0); };