summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-31 01:58:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-31 01:58:12 (GMT)
commit0f380c0dfaad4618aacc10cdccdc9157d7e93f3f (patch)
tree71e324746dab7ebd1a7c8bacb11cd95426df1317 /Tests/ComplexOneConfig
parentf588b6977feaa1628ac58a9e46c329d9cee36ca8 (diff)
downloadCMake-0f380c0dfaad4618aacc10cdccdc9157d7e93f3f.zip
CMake-0f380c0dfaad4618aacc10cdccdc9157d7e93f3f.tar.gz
CMake-0f380c0dfaad4618aacc10cdccdc9157d7e93f3f.tar.bz2
ENH: no c++ comments in a c file
Diffstat (limited to 'Tests/ComplexOneConfig')
-rw-r--r--Tests/ComplexOneConfig/Executable/testcflags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/ComplexOneConfig/Executable/testcflags.c b/Tests/ComplexOneConfig/Executable/testcflags.c
index 96224d4..6c692f3 100644
--- a/Tests/ComplexOneConfig/Executable/testcflags.c
+++ b/Tests/ComplexOneConfig/Executable/testcflags.c
@@ -1,12 +1,12 @@
#include <string.h>
int TestCFlags(char* m)
{
- // TEST_CXX_FLAGS should not be defined in a c file
+ /* TEST_CXX_FLAGS should not be defined in a c file */
#ifdef TEST_CXX_FLAGS
strcpy(m, "CMake CMAKE_CXX_FLAGS (TEST_CXX_FLAGS) found in c file.");
return 0;
#endif
- // TEST_C_FLAGS should be defined in a c file
+ /* TEST_C_FLAGS should be defined in a c file */
#ifndef TEST_C_FLAGS
strcpy(m, "CMake CMAKE_C_FLAGS (TEST_C_FLAGS) not found in c file.");
return 0;