diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-05-16 11:55:00 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-05-16 11:55:00 (GMT) |
commit | 9338803697da3623a61631809898af2334e38c48 (patch) | |
tree | 5da13c46c5a764f405435826e9d465111ab5b9b6 /Tests/BuildDepends/Project/bar.cxx | |
parent | 4b33244ea58870ee864e7f5ce4a801d0dcb2cd3c (diff) | |
download | CMake-9338803697da3623a61631809898af2334e38c48.zip CMake-9338803697da3623a61631809898af2334e38c48.tar.gz CMake-9338803697da3623a61631809898af2334e38c48.tar.bz2 |
BUG: fix test for hp move to c++ to avoid ansi issues and produce a message if the compile fails, (really checked in by Bill H.)
Diffstat (limited to 'Tests/BuildDepends/Project/bar.cxx')
-rw-r--r-- | Tests/BuildDepends/Project/bar.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/BuildDepends/Project/bar.cxx b/Tests/BuildDepends/Project/bar.cxx new file mode 100644 index 0000000..4764af5 --- /dev/null +++ b/Tests/BuildDepends/Project/bar.cxx @@ -0,0 +1,11 @@ +#include "stdio.h" + +const char* foo(); +int main() +{ + int i; + printf("%s\n", foo()); + fflush(stdout); + for(;;); + return 0; +} |