summaryrefslogtreecommitdiff
path: root/external/bsd/llvm/dist/clang/test/CodeGenCXX/lambda-to-function-pointer-conversion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'external/bsd/llvm/dist/clang/test/CodeGenCXX/lambda-to-function-pointer-conversion.cpp')
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/lambda-to-function-pointer-conversion.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/external/bsd/llvm/dist/clang/test/CodeGenCXX/lambda-to-function-pointer-conversion.cpp b/external/bsd/llvm/dist/clang/test/CodeGenCXX/lambda-to-function-pointer-conversion.cpp
deleted file mode 100644
index 87d21a3461d..00000000000
--- a/external/bsd/llvm/dist/clang/test/CodeGenCXX/lambda-to-function-pointer-conversion.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-// RUN: %clang_cc1 -triple x86_64-pc-windows-msvc19.0.0 -std=c++11 -emit-llvm -o - %s | FileCheck %s
-
-// This code used to cause an assertion failure in EmitDelegateCallArg.
-
-// CHECK: define internal void @"?__invoke@<lambda_0>@?0??test@@YAXXZ@CA@UTrivial@@@Z"(
-// CHECK: call void @"??R<lambda_0>@?0??test@@YAXXZ@QEBA@UTrivial@@@Z"(
-
-// CHECK: define internal void @"??R<lambda_0>@?0??test@@YAXXZ@QEBA@UTrivial@@@Z"(
-
-struct Trivial {
- int x;
-};
-
-void (*fnptr)(Trivial);
-
-void test() {
- fnptr = [](Trivial a){ (void)a; };
-}