1 // PR c++/65071 2 // { dg-do compile { target c++11 } } 3 4 template<int> struct S {}; 5 6 template<template<int> class... T, int N> 7 S<sizeof...(T)> foo(T<N>...); 8 9 auto x = foo(S<2>{}); 10