summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-04 17:35:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-04 17:35:56 (GMT)
commit1794836ee3e8727c9eed233f1ebaa0a1dbf76e57 (patch)
treedf0389118914d2d560c58933e8729a06a428b89a /Tests
parent8268d16bbb8275564f6650317665600a94c2b716 (diff)
downloadCMake-1794836ee3e8727c9eed233f1ebaa0a1dbf76e57.zip
CMake-1794836ee3e8727c9eed233f1ebaa0a1dbf76e57.tar.gz
CMake-1794836ee3e8727c9eed233f1ebaa0a1dbf76e57.tar.bz2
ENH: fix build c stuff with c and c++ with c++
Diffstat (limited to 'Tests')
-rw-r--r--Tests/COnly/conly.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/COnly/conly.c b/Tests/COnly/conly.c
index e8280ec..7214fe1 100644
--- a/Tests/COnly/conly.c
+++ b/Tests/COnly/conly.c
@@ -7,6 +7,7 @@
int main ()
{
+ int class = 0;
if ( LibC1Func() != 2.0 )
{
printf("Problem with libc1\n");
@@ -17,6 +18,6 @@ int main ()
printf("Problem with libc2\n");
return 1;
}
- printf("Foo: %s\n", foo);
+ printf("Foo: %s %d\n", foo, class);
return 0;
}