Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/lambda/lambda-deduce3.C

raw
1 // PR c++/69223
2 // { dg-do compile { target c++11 } }
3
4 template <class T> struct A
5 {
6 T x[20];
7 };
8
9 int main()
10 {
11 auto l = [](const A<int>& i){ return i; };
12 A<int> a;
13
14 l(a);
15 }