]> git.proxmox.com Git - rustc.git/blobdiff - tests/run-make/link-cfg/return2.c
Update upstream source from tag 'upstream/1.70.0+dfsg1'
[rustc.git] / tests / run-make / link-cfg / return2.c
diff --git a/tests/run-make/link-cfg/return2.c b/tests/run-make/link-cfg/return2.c
new file mode 100644 (file)
index 0000000..622aeaa
--- /dev/null
@@ -0,0 +1,6 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int my_function() {
+  return 2;
+}