From 5efb36caaba279a91fdb15823ff35887bfa1ac82 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 31 Mar 2014 18:11:40 +0300 Subject: Apparently dynamic linking with C++ had been broken for a while now. Sorry about that. --- test cases/common/6 linkshared/cppmain.cpp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test cases/common/6 linkshared/cppmain.cpp (limited to 'test cases/common/6 linkshared/cppmain.cpp') diff --git a/test cases/common/6 linkshared/cppmain.cpp b/test cases/common/6 linkshared/cppmain.cpp new file mode 100644 index 000000000..b2e40257c --- /dev/null +++ b/test cases/common/6 linkshared/cppmain.cpp @@ -0,0 +1,5 @@ +int cppfunc(); + +int main(int argc, char **argv) { + return cppfunc() != 42; +} -- cgit v1.2.3