summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-41394-rpass.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/issues/issue-41394-rpass.rs')
-rw-r--r--src/test/ui/issues/issue-41394-rpass.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-41394-rpass.rs b/src/test/ui/issues/issue-41394-rpass.rs
new file mode 100644
index 000000000..37c652523
--- /dev/null
+++ b/src/test/ui/issues/issue-41394-rpass.rs
@@ -0,0 +1,8 @@
+// run-pass
+// aux-build:issue-41394.rs
+
+extern crate issue_41394 as lib;
+
+fn main() {
+ assert_eq!(lib::foo() as u32, 42);
+}