summaryrefslogtreecommitdiff
path: root/Tests/SubDir
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-26 18:49:31 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-26 18:49:31 -0400
commit38abe90f156f9d2efe9fd48862ac23804f0bbc16 (patch)
treec16206d89ac4019608e2eed21714d15751589d00 /Tests/SubDir
parentec0626e54df728c86680a7575ed25e4198e68b67 (diff)
downloadcmake-38abe90f156f9d2efe9fd48862ac23804f0bbc16.tar.gz
ENH: Add extra test files
Diffstat (limited to 'Tests/SubDir')
-rw-r--r--Tests/SubDir/AnotherSubdir/secondone.c4
-rw-r--r--Tests/SubDir/AnotherSubdir/testfromsubdir.c10
2 files changed, 14 insertions, 0 deletions
diff --git a/Tests/SubDir/AnotherSubdir/secondone.c b/Tests/SubDir/AnotherSubdir/secondone.c
new file mode 100644
index 0000000000..b55d05f434
--- /dev/null
+++ b/Tests/SubDir/AnotherSubdir/secondone.c
@@ -0,0 +1,4 @@
+const char* secondone()
+{
+ return "Hello again";
+}
diff --git a/Tests/SubDir/AnotherSubdir/testfromsubdir.c b/Tests/SubDir/AnotherSubdir/testfromsubdir.c
new file mode 100644
index 0000000000..b784b16221
--- /dev/null
+++ b/Tests/SubDir/AnotherSubdir/testfromsubdir.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+const char* secondone();
+
+int main()
+{
+ printf("Hello from subdirectory\n");
+ printf("SO: %s\n", secondone());
+ return 0;
+}