aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction49.C
blob: 086f12ad3c61baf626accf012d23b31f8e3dbc4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/84015
// { dg-additional-options -std=c++17 }

template <int I>
struct A { };

template <int I>
struct B
{
  template<template<auto>class T>
  B(T<I>);
};

A<42> a;
B b (a);