summaryrefslogtreecommitdiffstats
path: root/Tests/Dependency/Case1/c2.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-06 19:52:12 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-06 19:52:12 (GMT)
commit1cba430d1bcbf62f0d012cd2f243d57c54881c07 (patch)
treef78d20d94730611c36b1bbd9cc3244cedf5ef233 /Tests/Dependency/Case1/c2.c
parent0cb622a28b3d19e9681a315b5690c8aa496e83a4 (diff)
downloadCMake-1cba430d1bcbf62f0d012cd2f243d57c54881c07.zip
CMake-1cba430d1bcbf62f0d012cd2f243d57c54881c07.tar.gz
CMake-1cba430d1bcbf62f0d012cd2f243d57c54881c07.tar.bz2
ENH: Combine all dependency* tests into one Dependency test. Add more difficult test cases.
Diffstat (limited to 'Tests/Dependency/Case1/c2.c')
-rw-r--r--Tests/Dependency/Case1/c2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/Dependency/Case1/c2.c b/Tests/Dependency/Case1/c2.c
new file mode 100644
index 0000000..4cf4426
--- /dev/null
+++ b/Tests/Dependency/Case1/c2.c
@@ -0,0 +1,6 @@
+extern int b2();
+
+int c2()
+{
+ return b2()+1;
+}