From 1e1707ccb867f1849d71fa64e6f984b60f3e350b Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Sat, 19 Jan 2013 17:38:12 -0800 Subject: [PATCH] testsuite: Add license --- src/test/compile-fail/access-mode-in-closures.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/test/compile-fail/access-mode-in-closures.rs b/src/test/compile-fail/access-mode-in-closures.rs index 6b785fbb5c17..24897608880c 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 or the MIT license +// , 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]) {}