Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/class-deduction3.C

raw
1 // { dg-do compile { target c++17 } }
2
3 template <int I>
4 struct A { };
5
6 template <int I>
7 struct B
8 {
9 template<template<int>class T>
10 B(T<I>);
11 };
12
13 A<42> a;
14 B b (a);