2 // Test method calls with self as an argument (cross-crate)
4 // aux-build:method_self_arg2.rs
5 extern crate method_self_arg2;
6 use method_self_arg2::{Foo, Bar};
10 // Test external call.
13 Bar::foo3(Box::new(x));
17 Bar::bar3(Box::new(x));
21 assert_eq!(method_self_arg2::get_count(), 2*2*3*3*5*5*7*7*11*11*13*13*17);