Fix testcase to be slightly less fussy about line number of error, as it just drifted.

This commit is contained in:
Graydon Hoare 2011-05-26 18:29:28 -07:00
parent 79c9e13073
commit fc31aa7f85

View file

@ -1,5 +1,5 @@
// -*- rust -*-
// error-pattern: a \[./src/test/compile-fail/shadow.rs:11:8:11:20
// error-pattern:src/test/compile-fail/shadow.rs
fn foo(vec[int] c) {
let int a = 5;
let vec[int] b = [];