1 // PR c++/66758 2 // { dg-do compile { target c++17 } } 3 // { dg-options "-fconcepts" } 4 5 template <class T, class...Args> 6 concept bool Constructible = requires(Args &&...args)7 requires(Args&&...args) { 8 T{ ((Args&&)(args))... }; 9 new T{((Args&&)(args))...}; 10 }; 11 12 template <Constructible T> struct A { }; 13 A<int> a; 14 15