blob: b025f80a888a387c22b5187d5398397f9ea97f1b [file] [log] [blame]
Florian Hahnf62460c2014-02-07 19:08:321// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
Graydon Hoared1affff2012-12-11 01:32:482// 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
Florian Hahnf62460c2014-02-07 19:08:3212// ignore-fast
Brian Anderson83b42c82012-08-15 04:16:5113
Alex Crichtona41b0c22014-02-14 18:10:0614extern crate 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}