From 978248bc21b336960efcf8b2599f13bb5ec1cf6a Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 7 Nov 2022 11:19:03 -0500 Subject: c (working) and c++ (not working) inputs --- tests/cpp.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/cpp.cpp (limited to 'tests/cpp.cpp') diff --git a/tests/cpp.cpp b/tests/cpp.cpp new file mode 100644 index 0000000..5da16e5 --- /dev/null +++ b/tests/cpp.cpp @@ -0,0 +1,10 @@ +#include +#include +#include +#include + +extern "C" int main(void) { + std::vector numbers = {}; + + exit((int)(long)&numbers); +} -- cgit v1.2.3