Skip to content

Commit c2db0de

Browse files
committed
Fix test failure.
1 parent c92c183 commit c2db0de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/ui/abi/foreign/auxiliary/foreign_lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ pub mod rustrt3 {
2525
// importing the same symbol under different types.
2626
// See https://github.com/rust-lang/rust/issues/32740.
2727
extern {
28+
// NOTE: Allow clashing decl here as we want this test case to catch ICE or LLVM assert
29+
// failures if the lint has been allowed.
30+
#[allow(clashing_extern_declarations)]
2831
pub fn rust_get_test_int() -> *const u8;
2932
}
3033
}

0 commit comments

Comments
 (0)