summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack')
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/Makefile3
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/TestFunctionTemplateParameterPack.py12
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/main.cpp24
3 files changed, 0 insertions, 39 deletions
diff --git a/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/Makefile b/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/Makefile
deleted file mode 100644
index 99bfa7e03b47..000000000000
--- a/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-LEVEL = ../../../make
-CXX_SOURCES := main.cpp
-include $(LEVEL)/Makefile.rules
diff --git a/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/TestFunctionTemplateParameterPack.py b/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/TestFunctionTemplateParameterPack.py
deleted file mode 100644
index b90f74656cdf..000000000000
--- a/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/TestFunctionTemplateParameterPack.py
+++ /dev/null
@@ -1,12 +0,0 @@
-from lldbsuite.test import lldbinline
-from lldbsuite.test import decorators
-
-# https://bugs.llvm.org/show_bug.cgi?id=35920
-# This test stresses expression evaluation support for template functions.
-# Currently the support is rudimentary, and running this test causes assertion
-# failures in clang. This test cannot be XFAIL'ed because the test harness
-# treats assertion failures as unexpected events. For now, the test must be
-# skipped.
-lldbinline.MakeInlineTest(
- __file__, globals(), [
- decorators.skipIf])
diff --git a/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/main.cpp b/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/main.cpp
deleted file mode 100644
index e802d40e5f8b..000000000000
--- a/packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/main.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-//===-- main.cpp ------------------------------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LIDENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-template <class T> int staticSizeof() {
- return sizeof(T);
-}
-
-template <class T1, class T2, class... Ts> int staticSizeof() {
- return staticSizeof<T2, Ts...>() + sizeof(T1);
-}
-
-int main (int argc, char const *argv[])
-{
- int sz = staticSizeof<long, int, char>();
- return staticSizeof<long, int, char>() != sz; //% self.expect("expression -- sz == staticSizeof<long, int, char>()", "staticSizeof<long, int, char> worked", substrs = ["true"])
- //% self.expect("expression -- sz == staticSizeof<long, int>() + sizeof(char)", "staticSizeof<long, int> worked", substrs = ["true"])
- //% self.expect("expression -- sz == staticSizeof<long>() + sizeof(int) + sizeof(char)", "staticSizeof<long> worked", substrs = ["true"])
-}