mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 12:00:11 -05:00
PR c++/82249 * pt.c (tsubst_pack_expansion): When optimizing a simple substitution, pull a single pack expansion out of its pack. From-SVN: r257101
14 lines
163 B
C
14 lines
163 B
C
// PR c++/84036
|
|
// { dg-do compile { target c++14 } }
|
|
|
|
template < typename T >
|
|
auto f(T){
|
|
[](auto ... i){
|
|
[i ...]{};
|
|
};
|
|
}
|
|
|
|
int main(){
|
|
f(0);
|
|
}
|