summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-deduce2.C
blob: 718d49cd9bcb44139d3e37b22dc457da5f640c41 (plain)
1
2
3
4
5
6
7
// PR c++/43875
// { dg-options "-std=c++0x" }

int main()
{
   auto x2 = []{ return { 1, 2 }; }; // { dg-message "return" }
}