summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommand/LoadedCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LoadCommand/LoadedCommand.cxx')
-rw-r--r--Tests/LoadCommand/LoadedCommand.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/LoadCommand/LoadedCommand.cxx b/Tests/LoadCommand/LoadedCommand.cxx
index 65483c8..8f073d4 100644
--- a/Tests/LoadCommand/LoadedCommand.cxx
+++ b/Tests/LoadCommand/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