summaryrefslogtreecommitdiff
path: root/test cases/unit/35 both library usability/consumer/tester.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/unit/35 both library usability/consumer/tester.c')
-rw-r--r--test cases/unit/35 both library usability/consumer/tester.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/test cases/unit/35 both library usability/consumer/tester.c b/test cases/unit/35 both library usability/consumer/tester.c
new file mode 100644
index 000000000..9a2538b31
--- /dev/null
+++ b/test cases/unit/35 both library usability/consumer/tester.c
@@ -0,0 +1,17 @@
+#include <stdio.h>
+
+#if defined(_MSC_VER) && !defined(PROVIDER_STATIC)
+__declspec(dllimport)
+#endif
+int both_get_dat_value (void);
+
+int main (int argc, char *argv[])
+{
+ int got = both_get_dat_value ();
+
+ if (got != 111) {
+ printf ("Got %i instead of 111\n", got);
+ return 2;
+ }
+ return 0;
+}