From: Nathan Sidwell Date: Wed, 31 May 2017 16:38:28 +0000 (+0000) Subject: * g++.dg/lookup/lambda1.C New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3909991c7b89c99e28d4b8ed2a2de740adb1d432;p=gcc.git * g++.dg/lookup/lambda1.C New. From-SVN: r248747 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c68b9a37d0d..9bcf41c258b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-05-31 Nathan Sidwell + + * g++.dg/lookup/lambda1.C New. + 2017-05-31 Bin Cheng * gcc.dg/tree-ssa/ivopt_mult_4.c: Explicitly check comparison diff --git a/gcc/testsuite/g++.dg/lookup/lambda1.C b/gcc/testsuite/g++.dg/lookup/lambda1.C new file mode 100644 index 00000000000..1cf450e363f --- /dev/null +++ b/gcc/testsuite/g++.dg/lookup/lambda1.C @@ -0,0 +1,13 @@ +// { dg-do compile { target c++11 } } + +namespace std +{ + typedef int I; +} + +void foo () +{ + using namespace std; + + auto l = [] (I) {}; +}