diff options
author | Brad King <brad.king@kitware.com> | 2007-02-08 21:18:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-02-08 21:18:21 (GMT) |
commit | 83466bf12eb2dfb51aa2ed49478e543db2530c97 (patch) | |
tree | 26abf7b787554937d175cedee5fb93041271504c /Tests/PrecompiledHeader/foo1.c | |
parent | 7fb573d437b300c15ee7d1fc6d1ef6fa077339e4 (diff) | |
download | CMake-83466bf12eb2dfb51aa2ed49478e543db2530c97.zip CMake-83466bf12eb2dfb51aa2ed49478e543db2530c97.tar.gz CMake-83466bf12eb2dfb51aa2ed49478e543db2530c97.tar.bz2 |
ENH: Added PrecompiledHeader test for MSVC compilers.
Diffstat (limited to 'Tests/PrecompiledHeader/foo1.c')
-rw-r--r-- | Tests/PrecompiledHeader/foo1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/PrecompiledHeader/foo1.c b/Tests/PrecompiledHeader/foo1.c new file mode 100644 index 0000000..b10eba7 --- /dev/null +++ b/Tests/PrecompiledHeader/foo1.c @@ -0,0 +1,8 @@ +#ifndef foo_h +# error "Precompiled header foo_precompiled.h has not been loaded." +#endif + +int main() +{ + return foo(); +} |