about summary refs log tree commit diff
path: root/tests/run-make/export/simple/app.rs
blob: ba34bdd7b566f2cdf34335e06af144ec6d7befb5 (plain)
1
2
3
4
5
6
7
8
extern crate libr;
use libr::*;

fn main() {
    let s = m::S { x: 42 };
    assert_eq!(m::foo1(s), 42);
    assert_eq!(m::S::foo2(1), 1);
}