diff options
Diffstat (limited to 'Tests/ConfigSources/iface_debug_src.cpp')
-rw-r--r-- | Tests/ConfigSources/iface_debug_src.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/ConfigSources/iface_debug_src.cpp b/Tests/ConfigSources/iface_debug_src.cpp new file mode 100644 index 0000000..010059f --- /dev/null +++ b/Tests/ConfigSources/iface_debug_src.cpp @@ -0,0 +1,13 @@ +#ifndef CFG_DEBUG +# error "This source should only be compiled in a Debug configuration." +#endif +#ifdef CFG_OTHER +# error "This source should not be compiled in a non-Debug configuration." +#endif + +#include "iface.h" + +int iface_debug() +{ + return 0; +} |