1 // PR c++/84015 2 // { dg-additional-options -std=c++17 } 3 4 template <int I> 5 struct A { }; 6 7 template <int I> 8 struct B 9 { 10 template<template<auto>class T> 11 B(T<I>); 12 }; 13 14 A<42> a; 15 B b (a); 16