Commit fde81c6f by Jason Merrill

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

From-SVN: r268470
parent 432335c9
...@@ -19,6 +19,8 @@ struct C ...@@ -19,6 +19,8 @@ struct C
{ {
template<int N> struct D template<int N> struct D
{ {
D* p = new D<0>; D* p = new D<0>; // { dg-error "" }
}; };
}; };
C::D<0> d;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment