summaryrefslogtreecommitdiff
path: root/Tests/ConfigSources/iface_other_src.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ConfigSources/iface_other_src.cpp')
-rw-r--r--Tests/ConfigSources/iface_other_src.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/ConfigSources/iface_other_src.cpp b/Tests/ConfigSources/iface_other_src.cpp
new file mode 100644
index 000000000..8ffdfbb72
--- /dev/null
+++ b/Tests/ConfigSources/iface_other_src.cpp
@@ -0,0 +1,13 @@
+#ifndef CFG_OTHER
+# error "This source should only be compiled in a non-Debug configuration."
+#endif
+#ifdef CFG_DEBUG
+# error "This source should not be compiled in a Debug configuration."
+#endif
+
+#include "iface.h"
+
+int iface_other()
+{
+ return 0;
+}