Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d9423 commit 9756838Copy full SHA for 9756838
src/test/ui/extern/extern-compare-with-return-type.rs
@@ -2,8 +2,9 @@
2
// Tests that we can compare various kinds of extern fn signatures.
3
#![allow(non_camel_case_types)]
4
5
-extern fn voidret1() {}
6
-extern fn voidret2() {}
+// `dbg!()` differentiates these functions to ensure they won't be merged.
+extern fn voidret1() { dbg!() }
7
+extern fn voidret2() { dbg!() }
8
9
extern fn uintret() -> usize { 22 }
10
0 commit comments