From f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 23 Jul 2016 20:50:09 +0000 Subject: Vendor import of lldb release_39 branch r276489: https://llvm.org/svn/llvm-project/lldb/branches/release_39@276489 --- .../test/functionalities/nested_alias/main.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 packages/Python/lldbsuite/test/functionalities/nested_alias/main.cpp (limited to 'packages/Python/lldbsuite/test/functionalities/nested_alias/main.cpp') diff --git a/packages/Python/lldbsuite/test/functionalities/nested_alias/main.cpp b/packages/Python/lldbsuite/test/functionalities/nested_alias/main.cpp new file mode 100644 index 000000000000..4424cf30c3a4 --- /dev/null +++ b/packages/Python/lldbsuite/test/functionalities/nested_alias/main.cpp @@ -0,0 +1,22 @@ +//===-- main.cpp ------------------------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +#include + +int main (int argc, char const *argv[]) +{ + void* my_ptr[] = { + reinterpret_cast(0xDEADBEEF), + reinterpret_cast(main), + reinterpret_cast(0xFEEDBEEF), + reinterpret_cast(0xFEEDDEAD), + reinterpret_cast(0xDEADFEED) + }; + return 0; // break here +} + -- cgit v1.2.3