rust/tests/ui/issues/issue-18501.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
341 B
Rust
Raw Normal View History

//@ run-pass
2014-11-02 02:07:51 +00:00
// Test that we don't ICE when inlining a function from another
// crate that uses a trait method as a value due to incorrectly
// translating the def ID of the trait during AST decoding.
//@ aux-build:issue-18501.rs
//@ pretty-expanded FIXME #23616
extern crate issue_18501 as issue;
2014-11-02 02:07:51 +00:00
fn main() {
issue::pass_method();
}