diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/target_command/globals.c')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/target_command/globals.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/target_command/globals.c b/lldb/packages/Python/lldbsuite/test/functionalities/target_command/globals.c deleted file mode 100644 index 421b34c0cbc..00000000000 --- a/lldb/packages/Python/lldbsuite/test/functionalities/target_command/globals.c +++ /dev/null @@ -1,24 +0,0 @@ -//===-- main.c --------------------------------------------------*- C++ -*-===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// -#include <stdio.h> - -char my_global_char = 'X'; -const char* my_global_str = "abc"; -const char **my_global_str_ptr = &my_global_str; -static int my_static_int = 228; - -int main (int argc, char const *argv[]) -{ - printf("global char: %c\n", my_global_char); - - printf("global str: %s\n", my_global_str); - - printf("argc + my_static_int = %d\n", (argc + my_static_int)); - - return 0; -} |