Sign in
◑
Theme
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
refs/heads/main
/
.
/
tests
/
ui
/
methods
/
by-value-self-method-on-int.rs
blob: c27898b156d86d81318da5c1bc90da8c59679efc [
file
] [
edit
]
//! Regression test for <https://github.com/rust-lang/rust/issues/4759>.
//! This used to trigger LLVM assertion.
//@ run-pass
trait
U
{
fn
f
(
self
);
}
impl
U
for
isize
{
fn
f
(
self
)
{}
}
pub
fn
main
()
{
4.f
();
}