summaryrefslogtreecommitdiffstats
path: root/Tests/Jump/Executable/jumpExecutable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Jump/Executable/jumpExecutable.cxx')
-rw-r--r--Tests/Jump/Executable/jumpExecutable.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Jump/Executable/jumpExecutable.cxx b/Tests/Jump/Executable/jumpExecutable.cxx
new file mode 100644
index 0000000..7a050c7
--- /dev/null
+++ b/Tests/Jump/Executable/jumpExecutable.cxx
@@ -0,0 +1,12 @@
+#ifdef _WIN32
+# define JUMP_IMPORT __declspec(dllimport)
+#else
+# define JUMP_IMPORT extern
+#endif
+
+extern int jumpStatic();
+JUMP_IMPORT int jumpShared();
+int main()
+{
+ return jumpShared() && jumpShared();
+}