diff options
Diffstat (limited to 'Tests/RunCMake/ObjectLibrary/depends_lib.c')
-rw-r--r-- | Tests/RunCMake/ObjectLibrary/depends_lib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/ObjectLibrary/depends_lib.c b/Tests/RunCMake/ObjectLibrary/depends_lib.c new file mode 100644 index 0000000..a41b32c --- /dev/null +++ b/Tests/RunCMake/ObjectLibrary/depends_lib.c @@ -0,0 +1,7 @@ +#include <stdlib.h> +extern int myobj_foo(void); + +void mylib_foo(void) +{ + exit(myobj_foo()); +} |