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/dirC/dirB/t7.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/dirC/dirB/t7.c')
-rw-r--r-- | Tests/SimpleExclude/dirC/dirB/t7.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/SimpleExclude/dirC/dirB/t7.c b/Tests/SimpleExclude/dirC/dirB/t7.c new file mode 100644 index 0000000..b95d3ec --- /dev/null +++ b/Tests/SimpleExclude/dirC/dirB/t7.c @@ -0,0 +1,16 @@ +#include <stdio.h> + +extern int tlib2func(); + +int tlib7func() +{ + printf("This is T7\n"); + + if ( tlib2func() != 2 ) + { + fprintf(stderr, "Something wrong with T2\n"); + return 1; + } + + return 7; +} |