summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/auxiliary/syntax-extension-with-dll-deps-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui-fulldeps/auxiliary/syntax-extension-with-dll-deps-1.rs')
-rw-r--r--tests/ui-fulldeps/auxiliary/syntax-extension-with-dll-deps-1.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui-fulldeps/auxiliary/syntax-extension-with-dll-deps-1.rs b/tests/ui-fulldeps/auxiliary/syntax-extension-with-dll-deps-1.rs
new file mode 100644
index 000000000..8b00fb81c
--- /dev/null
+++ b/tests/ui-fulldeps/auxiliary/syntax-extension-with-dll-deps-1.rs
@@ -0,0 +1,7 @@
+// force-host
+
+#![crate_type = "dylib"]
+
+pub fn the_answer() -> isize {
+ 2
+}