diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-01-19 17:38:12 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-01-19 17:38:12 -0800 |
| commit | 1e1707ccb867f1849d71fa64e6f984b60f3e350b (patch) | |
| tree | 20167e63193358dd1ff887afb3ef74408c8fa8f3 | |
| parent | 96b4f436753ac40211035b533f0e0c88858ff72d (diff) | |
| download | rust-1e1707ccb867f1849d71fa64e6f984b60f3e350b.tar.gz rust-1e1707ccb867f1849d71fa64e6f984b60f3e350b.zip | |
testsuite: Add license
| -rw-r--r-- | src/test/compile-fail/access-mode-in-closures.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/compile-fail/access-mode-in-closures.rs b/src/test/compile-fail/access-mode-in-closures.rs index 6b785fbb5c1..24897608880 100644 --- a/src/test/compile-fail/access-mode-in-closures.rs +++ b/src/test/compile-fail/access-mode-in-closures.rs @@ -1,3 +1,14 @@ +// Copyright 2012 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. + + enum sty = ~[int]; fn unpack(_unpack: &fn(v: &sty) -> ~[int]) {} |
