summaryrefslogtreecommitdiffstats
path: root/Tests/Dependency/Case4/bar.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-08-07 14:13:15 (GMT)
committerBrad King <brad.king@kitware.com>2008-08-07 14:13:15 (GMT)
commitc76f3ae5b5b9709fc2cd97d838e52c52412bf5c5 (patch)
tree28c704f174b5d826ef3a1427c00bdcb647ab0f4d /Tests/Dependency/Case4/bar.c
parentb8fc8b324d2e1b892d0b41cf3581226c210131d0 (diff)
downloadCMake-c76f3ae5b5b9709fc2cd97d838e52c52412bf5c5.zip
CMake-c76f3ae5b5b9709fc2cd97d838e52c52412bf5c5.tar.gz
CMake-c76f3ae5b5b9709fc2cd97d838e52c52412bf5c5.tar.bz2
ENH: Test fake circular dependency case
A recent change fixed a case in which CMake incorrectly diagnosed a circular dependency involving a non-linkable executable target. This adds a test for that case.
Diffstat (limited to 'Tests/Dependency/Case4/bar.c')
-rw-r--r--Tests/Dependency/Case4/bar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/Dependency/Case4/bar.c b/Tests/Dependency/Case4/bar.c
new file mode 100644
index 0000000..d0bb0c4
--- /dev/null
+++ b/Tests/Dependency/Case4/bar.c
@@ -0,0 +1,2 @@
+extern int foo();
+int main() { return foo(); }