summaryrefslogtreecommitdiff
path: root/test cases/common/6 linkshared/cpplib.cpp
AgeCommit message (Collapse)Author
2021-05-21Fix LTO test on CygwinJon Turney
This partially reverts commit add502c6483bde9dc6a0ba80b3c79163304465a4. In 'linkshared' test, annotate cppfunc() as imported, so an indirection through an import stub is generated, avoiding a relocation size error when building using gcc for Cygwin with LTO on. Align with the example of how to write this portably in [1]. The 'c' language part of that test already gets this right. [1] http://gcc.gnu.org/wiki/Visibility
2019-11-18Use strict function prototypesMichael Hirsch, Ph.D
2014-04-13Added export def to test case.Jussi Pakkanen
2014-03-31Apparently dynamic linking with C++ had been broken for a while now. Sorry ↵Jussi Pakkanen
about that.