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.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/LoadCommand/LoadedCommand.cxx b/Tests/LoadCommand/LoadedCommand.cxx
index 8f073d4..8c125f0 100644
--- a/Tests/LoadCommand/LoadedCommand.cxx
+++ b/Tests/LoadCommand/LoadedCommand.cxx
@@ -13,6 +13,11 @@ int main ()
return 1;
#endif
+#if !defined( ADDED_DEFINITION )
+ printf("Should have ADDED_DEFINITION defined\n");
+ return 1;
+#endif
+
#ifdef CMAKE_IS_FUN
return SIZEOF_CHAR-1;
#else