2014-02-05 16:33:10 -06:00
|
|
|
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
|
|
|
|
// file at the top-level directory of this distribution and at
|
|
|
|
// http://rust-lang.org/COPYRIGHT.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
2012-12-13 16:55:08 -06:00
|
|
|
// aux-build:static_fn_trait_xc_aux.rs
|
|
|
|
|
2014-02-14 12:10:06 -06:00
|
|
|
extern crate mycore = "static_fn_trait_xc_aux";
|
2012-12-13 16:55:08 -06:00
|
|
|
|
2013-01-08 12:35:20 -06:00
|
|
|
use mycore::num;
|
2012-12-13 16:55:08 -06:00
|
|
|
|
2013-02-01 21:43:17 -06:00
|
|
|
pub fn main() {
|
2013-09-26 01:26:09 -05:00
|
|
|
let _1: f64 = num::Num2::from_int2(1i);
|
2012-12-13 16:55:08 -06:00
|
|
|
}
|