diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
| commit | 88c643b6fec27eec436c8d138fee6346e92337d6 (patch) | |
| tree | 82cd13b2f3cde1c9e5f79689ba4e6ba67694843f /packages/Python/lldbsuite/test/lang/cpp/extern_c | |
| parent | 94994d372d014ce4c8758b9605d63fae651bd8aa (diff) | |
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/cpp/extern_c')
3 files changed, 0 insertions, 36 deletions
diff --git a/packages/Python/lldbsuite/test/lang/cpp/extern_c/Makefile b/packages/Python/lldbsuite/test/lang/cpp/extern_c/Makefile deleted file mode 100644 index 99bfa7e03b47..000000000000 --- a/packages/Python/lldbsuite/test/lang/cpp/extern_c/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/extern_c/TestExternCSymbols.py b/packages/Python/lldbsuite/test/lang/cpp/extern_c/TestExternCSymbols.py deleted file mode 100644 index b1b7e1744f1f..000000000000 --- a/packages/Python/lldbsuite/test/lang/cpp/extern_c/TestExternCSymbols.py +++ /dev/null @@ -1,4 +0,0 @@ -from lldbsuite.test import lldbinline -from lldbsuite.test import decorators - -lldbinline.MakeInlineTest(__file__, globals(), lldbinline.expectedFailureAll(oslist=["windows"])) diff --git a/packages/Python/lldbsuite/test/lang/cpp/extern_c/main.cpp b/packages/Python/lldbsuite/test/lang/cpp/extern_c/main.cpp deleted file mode 100644 index a4006c2f7ed1..000000000000 --- a/packages/Python/lldbsuite/test/lang/cpp/extern_c/main.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===-- 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 <stdio.h> -#include <stdint.h> - -extern "C" -{ - int foo(); -}; - -int foo() -{ - puts("foo"); - return 2; -} - -int main (int argc, char const *argv[], char const *envp[]) -{ - foo(); - return 0; //% self.expect("expression -- foo()", substrs = ['2']) -} - |
