summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2627-raw-dylib/multiple-declarations.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfc-2627-raw-dylib/multiple-declarations.stderr')
-rw-r--r--tests/ui/rfc-2627-raw-dylib/multiple-declarations.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/rfc-2627-raw-dylib/multiple-declarations.stderr b/tests/ui/rfc-2627-raw-dylib/multiple-declarations.stderr
new file mode 100644
index 000000000..c6808bec7
--- /dev/null
+++ b/tests/ui/rfc-2627-raw-dylib/multiple-declarations.stderr
@@ -0,0 +1,8 @@
+error: multiple declarations of external function `f` from library `foo.dll` have different calling conventions
+ --> $DIR/multiple-declarations.rs:14:9
+ |
+LL | fn f(x: i32);
+ | ^^^^^^^^^^^^^
+
+error: aborting due to previous error
+