blob: db116cded116afee5b0e0ba7a2e45306b55171db [file] [log] [blame]
Graydon Hoared1affff2012-12-11 01:32:481// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
2// file at the top-level directory of this distribution and at
3// http://rust-lang.org/COPYRIGHT.
4//
5// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8// option. This file may not be copied, modified, or distributed
9// except according to those terms.
10
Brian Anderson83b42c82012-08-15 04:16:5111// aux-build:issue_2472_b.rs
Brian Anderson9f01aca2012-08-15 05:05:2612// xfail-fast
Brian Anderson83b42c82012-08-15 04:16:5113
Brian Andersonea01ee22012-09-12 00:46:2014extern mod issue_2472_b;
Brian Anderson83b42c82012-08-15 04:16:5115
Patrick Waltonf6868962012-09-05 19:32:0516use issue_2472_b::{S, T};
Brian Anderson83b42c82012-08-15 04:16:5117
Graydon Hoare89c8ef72013-02-02 03:43:1718pub fn main() {
Brian Anderson83b42c82012-08-15 04:16:5119 let s = S(());
20 s.foo();
21 s.bar();
22}