Fortran: checking of pointer targets for structure constructors [PR56423]
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / lambda / lambda-variadic13.C
blob3df88296726369bf0fcead5eea49512bf6729d48
1 // PR c++/100006
2 // { dg-do compile { target c++14 } }
4 template <class... Ts>
5 void f() {
6   [] { struct S : Ts { }; };    // { dg-message "" }
9 int main() {
10   f<>();