Files
clang-p2996/lldb/test/lang/c/shared_lib/foo.h
Zachary Turner 794e6a60a8 Fix makefiles to build shared library tests on Windows.
Abstracted away some POSIX-isms that caused MAKE to issue invalid
commands on Windows.  Added a new force-include for the test
programs so that we can use platform-specific macros.

TestSharedLib now builds and cleans up on Windows, though the test
still fails some of the expectations.

Differential Revision: http://reviews.llvm.org/D8277
Patch by: Adrian McCarthy
Issue Tracker: http://llvm.org/pr21727

llvm-svn: 232220
2015-03-13 21:51:11 +00:00

11 lines
165 B
C

struct foo;
struct sub_foo
{
int sub_1;
char *sub_2;
};
LLDB_TEST_API struct foo *GetMeAFoo();
LLDB_TEST_API struct sub_foo *GetMeASubFoo(struct foo *in_foo);