2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2014-11-01 21:07:51 -05: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
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-03-27 12:22:44 -05:00
|
|
|
extern crate issue_18501 as issue;
|
2014-11-01 21:07:51 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
issue::pass_method();
|
|
|
|
}
|