Commit 54947e4d by Marek Polacek

c++: Add new test [PR88819]

Fixed by r10-1975-g59febe0e.

2020-02-12  Marek Polacek  <polacek@redhat.com>

	PR c++/88819
	* g++.dg/cpp2a/nontype-class32.C: New test.
parent e428a9cf
2020-02-12 Marek Polacek <polacek@redhat.com> 2020-02-12 Marek Polacek <polacek@redhat.com>
PR c++/88819
* g++.dg/cpp2a/nontype-class32.C: New test.
2020-02-12 Marek Polacek <polacek@redhat.com>
PR c++/93684 - ICE-on-invalid with broken attribute. PR c++/93684 - ICE-on-invalid with broken attribute.
* g++.dg/parse/attr4.C: New test. * g++.dg/parse/attr4.C: New test.
......
// PR c++/88819
// { dg-do compile { target c++2a } }
template<typename T, template<T> class TT, class R = TT <0>> struct A
{
template<R> struct B {};
};
template<int> struct C {};
A<int, C, C<0>> a;
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