diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-02-22 13:39:12 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-02-22 13:39:12 (GMT) |
commit | 1db4c0e5241113f7bf79f195418f8e7a6b25570f (patch) | |
tree | 001aa11b99d582222d4567e0cc1ad2ed20448c73 /Tests/SimpleExclude/dirD/t9.c | |
parent | 5647e6e254f82a81997cd3913f872b06fe761f1e (diff) | |
download | CMake-1db4c0e5241113f7bf79f195418f8e7a6b25570f.zip CMake-1db4c0e5241113f7bf79f195418f8e7a6b25570f.tar.gz CMake-1db4c0e5241113f7bf79f195418f8e7a6b25570f.tar.bz2 |
ENH: Add simple exclusion test for subdirectories
Diffstat (limited to 'Tests/SimpleExclude/dirD/t9.c')
-rw-r--r-- | Tests/SimpleExclude/dirD/t9.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Tests/SimpleExclude/dirD/t9.c b/Tests/SimpleExclude/dirD/t9.c new file mode 100644 index 0000000..321014b --- /dev/null +++ b/Tests/SimpleExclude/dirD/t9.c @@ -0,0 +1,24 @@ +#include <stdio.h> + +extern int tlib7func(); + +#ifdef __CLASSIC_C__ +int main() +{ + int ac; + char*av[]; +#else + int main(int ac, char*av[]) + { +#endif + if(ac > 1000){return *av[0];} + printf("This is T9. This one should work.\n"); + + if ( tlib7func() != 7 ) + { + fprintf(stderr, "Something wrong with T7\n"); + return 1; + } + return 0; + } + |