summaryrefslogtreecommitdiffstats
path: root/Tests/SubDir/AnotherSubdir
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-27 13:22:57 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-27 13:22:57 (GMT)
commit482eef71122acf6408e0d5bd02161bb832155f08 (patch)
tree61500ef9273621f9d8816b2286ed6c8838137e30 /Tests/SubDir/AnotherSubdir
parentc19a70b3ada66a59c7a0ff78bf1a4a1cd557db9a (diff)
downloadCMake-482eef71122acf6408e0d5bd02161bb832155f08.zip
CMake-482eef71122acf6408e0d5bd02161bb832155f08.tar.gz
CMake-482eef71122acf6408e0d5bd02161bb832155f08.tar.bz2
BUG: Fix aus source dir and add better testing of it
Diffstat (limited to 'Tests/SubDir/AnotherSubdir')
-rw-r--r--Tests/SubDir/AnotherSubdir/pair+int.int.c6
-rw-r--r--Tests/SubDir/AnotherSubdir/secondone.c6
-rw-r--r--Tests/SubDir/AnotherSubdir/testfromsubdir.c8
3 files changed, 16 insertions, 4 deletions
diff --git a/Tests/SubDir/AnotherSubdir/pair+int.int.c b/Tests/SubDir/AnotherSubdir/pair+int.int.c
new file mode 100644
index 0000000..b7a6237
--- /dev/null
+++ b/Tests/SubDir/AnotherSubdir/pair+int.int.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+void pair_stuff()
+{
+ printf("Placeholder for a strange file in subdirectory\n");
+}
diff --git a/Tests/SubDir/AnotherSubdir/secondone.c b/Tests/SubDir/AnotherSubdir/secondone.c
index b55d05f..3e9e5af 100644
--- a/Tests/SubDir/AnotherSubdir/secondone.c
+++ b/Tests/SubDir/AnotherSubdir/secondone.c
@@ -1,4 +1,6 @@
-const char* secondone()
+#include <stdio.h>
+
+void secondone()
{
- return "Hello again";
+ printf("Hello again\n");
}
diff --git a/Tests/SubDir/AnotherSubdir/testfromsubdir.c b/Tests/SubDir/AnotherSubdir/testfromsubdir.c
index b784b16..34b6e7a 100644
--- a/Tests/SubDir/AnotherSubdir/testfromsubdir.c
+++ b/Tests/SubDir/AnotherSubdir/testfromsubdir.c
@@ -1,10 +1,14 @@
#include <stdio.h>
-const char* secondone();
+void secondone();
+void pair_stuff();
+void vcl_stuff();
int main()
{
printf("Hello from subdirectory\n");
- printf("SO: %s\n", secondone());
+ secondone();
+ pair_stuff();
+ vcl_stuff();
return 0;
}