* nsdmi-template14.C: Expect error for last example.

From-SVN: r268470
This commit is contained in:
Jason Merrill 2019-02-01 23:19:00 -05:00
parent 432335c980
commit fde81c6f70

View File

@ -19,6 +19,8 @@ struct C
{
template<int N> struct D
{
D* p = new D<0>;
D* p = new D<0>; // { dg-error "" }
};
};
C::D<0> d;