blob: 4e1d6894e5610c8a3fd3e59dceb6ed0eea6177db (
plain)
1
2
3
4
5
6
7
8
|
// PR c++/108090
// { dg-do compile { target c++17 } }
template<typename T> struct As { operator T(); };
template<typename ...T> struct AsAll : As<T>... {
using As<T>::operator T...;
};
AsAll<int, float, char> x;
|