aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction49.C
blob: 658ae43e7005564e43161a5f07de6b2e00d580df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/84015
// { dg-do compile { target 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);