summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommandOneConfig
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LoadCommandOneConfig')
-rw-r--r--Tests/LoadCommandOneConfig/LoadedCommand.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/LoadCommandOneConfig/LoadedCommand.cxx b/Tests/LoadCommandOneConfig/LoadedCommand.cxx
index 8c125f0..04daff0 100644
--- a/Tests/LoadCommandOneConfig/LoadedCommand.cxx
+++ b/Tests/LoadCommandOneConfig/LoadedCommand.cxx
@@ -17,7 +17,11 @@ int main ()
printf("Should have ADDED_DEFINITION defined\n");
return 1;
#endif
-
+ if(SIZEOF_CHAR != 1)
+ {
+ printf("Size of char is not one, something is broken\n");
+ }
+
#ifdef CMAKE_IS_FUN
return SIZEOF_CHAR-1;
#else