diff options
| author | Flavio Percoco <flaper87@gmail.com> | 2015-01-27 01:07:31 +0100 |
|---|---|---|
| committer | Flavio Percoco <flaper87@gmail.com> | 2015-02-22 02:14:26 +0100 |
| commit | 7213ef1a8fd3cb7e479d53fdb287c6c612b9fb93 (patch) | |
| tree | 9032ce53716586ff272b78a46b1a0beb9da2c96e /src/test/pretty/default-trait-impl.rs | |
| parent | 0be1e430cf8762095178cb8c94a17f1bab32a191 (diff) | |
| download | rust-7213ef1a8fd3cb7e479d53fdb287c6c612b9fb93.tar.gz rust-7213ef1a8fd3cb7e479d53fdb287c6c612b9fb93.zip | |
Test all the things
Diffstat (limited to 'src/test/pretty/default-trait-impl.rs')
| -rw-r--r-- | src/test/pretty/default-trait-impl.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/pretty/default-trait-impl.rs b/src/test/pretty/default-trait-impl.rs new file mode 100644 index 00000000000..a5246b9300c --- /dev/null +++ b/src/test/pretty/default-trait-impl.rs @@ -0,0 +1,19 @@ +// 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. + +#![feature(optin_builtin_traits)] + +// pp-exact + +trait MyTrait { } + +impl MyTrait for .. { } + +pub fn main() { } |
