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