Skip to content

Commit 9756838

Browse files
committed
differentiate functions in extern-compare-with-return-type.rs
1 parent c1d9423 commit 9756838

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/ui/extern/extern-compare-with-return-type.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
// Tests that we can compare various kinds of extern fn signatures.
33
#![allow(non_camel_case_types)]
44

5-
extern fn voidret1() {}
6-
extern fn voidret2() {}
5+
// `dbg!()` differentiates these functions to ensure they won't be merged.
6+
extern fn voidret1() { dbg!() }
7+
extern fn voidret2() { dbg!() }
78

89
extern fn uintret() -> usize { 22 }
910

0 commit comments

Comments
 (0)