summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommandOneConfig/LoadedCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LoadCommandOneConfig/LoadedCommand.cxx')
-rw-r--r--Tests/LoadCommandOneConfig/LoadedCommand.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/LoadCommandOneConfig/LoadedCommand.cxx b/Tests/LoadCommandOneConfig/LoadedCommand.cxx
index 65483c8..8f073d4 100644
--- a/Tests/LoadCommandOneConfig/LoadedCommand.cxx
+++ b/Tests/LoadCommandOneConfig/LoadedCommand.cxx
@@ -1,7 +1,18 @@
#include "LoadedCommand.h"
+#include <stdio.h>
int main ()
{
+#ifdef HAVE_VSBLABLA
+ printf("Should not be able to find vsblabla\n");
+ return 1;
+#endif
+
+#if !defined( HAVE_PRINTF )
+ printf("Should be able to find printf\n");
+ return 1;
+#endif
+
#ifdef CMAKE_IS_FUN
return SIZEOF_CHAR-1;
#else