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