From 88c643b6fec27eec436c8d138fee6346e92337d6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 20 Aug 2019 18:01:57 +0000 Subject: Remove upstream files and directories from vendor/lldb/dist that we do not use. This saves on repository space, and reduces the number of tree conflicts when merging. --- .../cpp/function-template-parameter-pack/main.cpp | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/main.cpp (limited to 'packages/Python/lldbsuite/test/lang/cpp/function-template-parameter-pack/main.cpp') 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 e802d40e5f8bf..0000000000000 --- 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 int staticSizeof() { - return sizeof(T); -} - -template int staticSizeof() { - return staticSizeof() + sizeof(T1); -} - -int main (int argc, char const *argv[]) -{ - int sz = staticSizeof(); - return staticSizeof() != sz; //% self.expect("expression -- sz == staticSizeof()", "staticSizeof worked", substrs = ["true"]) - //% self.expect("expression -- sz == staticSizeof() + sizeof(char)", "staticSizeof worked", substrs = ["true"]) - //% self.expect("expression -- sz == staticSizeof() + sizeof(int) + sizeof(char)", "staticSizeof worked", substrs = ["true"]) -} -- cgit v1.2.3