r196664 - Delete the now unnecessary test/generic-lambda-unimplemented-1y.cpp

Faisal Vali faisalv at yahoo.com
Sat Dec 7 12:57:51 PST 2013


Author: faisalv
Date: Sat Dec  7 14:57:51 2013
New Revision: 196664

URL: http://llvm.org/viewvc/llvm-project?rev=196664&view=rev
Log:
Delete the now unnecessary test/generic-lambda-unimplemented-1y.cpp


Removed:
    cfe/trunk/test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp

Removed: cfe/trunk/test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp?rev=196663&view=auto
==============================================================================
--- cfe/trunk/test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp (original)
+++ cfe/trunk/test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp (removed)
@@ -1,31 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++1y %s -verify
-//expected-no-diagnostics
-namespace lambda_capturing {
-// FIXME: Once return type deduction is implemented for generic lambdas
-// this will need to be updated.
-void test() {
-  int i = 10;
-  {
-    auto L = [=](auto a) -> int { 
-      return i + a;
-    };
-    L(3);
-  }
-  {
-    auto L = [i](auto a) -> int { 
-      return i + a;
-    };
-    L(3);
-  }  
-  {
-    auto L = [i=i](auto a) -> int { 
-      return i + a;
-    };
-    L(3);
-  }  
-
-  
-}
-
-}
-





More information about the cfe-commits mailing list