From bb187903979d20c8b8a5ed07276c6af122bad781 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 24 Nov 2009 11:17:16 -0500 Subject: Test CMP0015 OLD and NEW link_directories behavior We create a LinkDirectory test to check that the policy OLD and NEW behaviors work as documented. See issue #9697. --- Tests/LinkDirectory/External/myexe.c | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Tests/LinkDirectory/External/myexe.c (limited to 'Tests/LinkDirectory/External/myexe.c') diff --git a/Tests/LinkDirectory/External/myexe.c b/Tests/LinkDirectory/External/myexe.c new file mode 100644 index 0000000000..6ef1ebe598 --- /dev/null +++ b/Tests/LinkDirectory/External/myexe.c @@ -0,0 +1,3 @@ +extern int mylibA(void); +extern int mylibB(void); +int main(void) { return mylibA() + mylibB(); } -- cgit v1.2.1