diff options
Diffstat (limited to 'test/LLVMC/test_data')
-rw-r--r-- | test/LLVMC/test_data/false.c | 10 | ||||
-rw-r--r-- | test/LLVMC/test_data/false.cpp | 16 | ||||
-rw-r--r-- | test/LLVMC/test_data/false2.cpp | 5 | ||||
-rw-r--r-- | test/LLVMC/test_data/together.c | 5 |
4 files changed, 0 insertions, 36 deletions
diff --git a/test/LLVMC/test_data/false.c b/test/LLVMC/test_data/false.c deleted file mode 100644 index 3e4e8a7..0000000 --- a/test/LLVMC/test_data/false.c +++ /dev/null @@ -1,10 +0,0 @@ -#include <iostream> - -extern "C" void test(); -extern std::string test2(); - -int test_main() { - std::cout << "h"; - test(); - std::cout << test2() << '\n'; -} diff --git a/test/LLVMC/test_data/false.cpp b/test/LLVMC/test_data/false.cpp deleted file mode 100644 index 593fcd5..0000000 --- a/test/LLVMC/test_data/false.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include <stdio.h> - -/* Make this invalid C++ */ -typedef struct { - int i; - char c; -} a; - -static a b = { .i = 65, .c = 'r'}; - -void test() { - b.i = 9; - fflush(stdout); - printf("el"); -} - diff --git a/test/LLVMC/test_data/false2.cpp b/test/LLVMC/test_data/false2.cpp deleted file mode 100644 index bba064c..0000000 --- a/test/LLVMC/test_data/false2.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include <string> - -std::string test2() { - return "lo"; -} diff --git a/test/LLVMC/test_data/together.c b/test/LLVMC/test_data/together.c deleted file mode 100644 index a828c47..0000000 --- a/test/LLVMC/test_data/together.c +++ /dev/null @@ -1,5 +0,0 @@ -#include <stdio.h> - -void test() { - printf("hello\n"); -} |