aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp1y/pr59636.C
blob: 6128753e08e6ff304308a4f1e60ac950cdbf7290 (plain)
1
2
3
4
// PR c++/59636
// { dg-do compile { target c++1y } }

auto f = []() { return []<>() {}; };  // { dg-error "expected identifier" }