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. --- .../expression_command/anonymous-struct/main.cpp | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp (limited to 'packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp') diff --git a/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp b/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp deleted file mode 100644 index 5b170c5f943a..000000000000 --- a/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include - -typedef struct { - float f; - int i; -} my_untagged_struct; - -double multiply(my_untagged_struct *s) -{ - return s->f * s->i; -} - -double multiply(my_untagged_struct *s, int x) -{ - return multiply(s) * x; -} - -int main(int argc, char **argv) -{ - my_untagged_struct s = { - .f = (float)argc, - .i = argc, - }; - // lldb testsuite break - return !(multiply(&s, argc) == pow(argc, 3)); -} -- cgit v1.2.3