From fde81c6f70a7bdae57e7d5a7bb0ecae760ac9b5d Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 1 Feb 2019 23:19:00 -0500 Subject: [PATCH] * nsdmi-template14.C: Expect error for last example. From-SVN: r268470 --- gcc/testsuite/g++.dg/cpp0x/nsdmi-template14.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/cpp0x/nsdmi-template14.C b/gcc/testsuite/g++.dg/cpp0x/nsdmi-template14.C index a885a241279..6d29bdde102 100644 --- a/gcc/testsuite/g++.dg/cpp0x/nsdmi-template14.C +++ b/gcc/testsuite/g++.dg/cpp0x/nsdmi-template14.C @@ -19,6 +19,8 @@ struct C { template struct D { - D* p = new D<0>; + D* p = new D<0>; // { dg-error "" } }; }; + +C::D<0> d; -- 2.30.2