diff options
Diffstat (limited to 'src/test/run-pass/syntax-extension-source-utils.rs')
| -rw-r--r-- | src/test/run-pass/syntax-extension-source-utils.rs | 12 | 
1 files changed, 11 insertions, 1 deletions
diff --git a/src/test/run-pass/syntax-extension-source-utils.rs b/src/test/run-pass/syntax-extension-source-utils.rs index 2a6b5d644f1..44eb6337a6f 100644 --- a/src/test/run-pass/syntax-extension-source-utils.rs +++ b/src/test/run-pass/syntax-extension-source-utils.rs @@ -1,3 +1,13 @@ +// 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. + // This test is brittle! // xfail-pretty - the pretty tests lose path information, breaking include! #[legacy_exports]; @@ -11,7 +21,7 @@ mod m1 { } fn main() { - assert(line!() == 14); + assert(line!() == 24); assert(col!() == 11); assert(file!().ends_with(~"syntax-extension-source-utils.rs")); assert(stringify!((2*3) + 5) == ~"(2 * 3) + 5");  | 
