]> granicus.if.org Git - clang/commitdiff
Delete the now unnecessary test/generic-lambda-unimplemented-1y.cpp
authorFaisal Vali <faisalv@yahoo.com>
Sat, 7 Dec 2013 20:57:51 +0000 (20:57 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Sat, 7 Dec 2013 20:57:51 +0000 (20:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196664 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp [deleted file]

diff --git a/test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp b/test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp
deleted file mode 100644 (file)
index 7f42c39..0000000
+++ /dev/null
@@ -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);
-  }  
-
-  
-}
-
-}
-