about summary refs log tree commit diff
path: root/tests/ui/issues/issue-18501.rs
blob: 54e53e434c46508633444e5edd544dfe17917d55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ run-pass
// 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

extern crate issue_18501 as issue;

fn main() {
    issue::pass_method();
}