Skip to content
Snippets Groups Projects
Commit 5f3a6e26 authored by Marek Polacek's avatar Marek Polacek
Browse files

c++: add fixed test [PR109095]

Fixed by r13-6693.

	PR c++/109095

gcc/testsuite/ChangeLog:

	* g++.dg/cpp2a/nontype-class66.C: New test.
parent f0ab3de6
No related branches found
No related tags found
No related merge requests found
// PR c++/109095
// { dg-do compile { target c++20 } }
template< typename T >
struct bar
{};
template< int X >
struct baz
{};
template< auto N, template< auto N2 > typename TT >
struct foo;
template< typename T, bar< T > B, template< T N2 > typename TT >
struct foo< B, TT >
{};
foo< bar< int >{}, baz > x;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment