diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-08-03 17:25:56 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-08-03 17:25:56 -0400 |
| commit | b5a782750592c855c4a57821d3704089af5eaf2b (patch) | |
| tree | 3f086c7cc099b3757a090b65adbaa7f9e833c0c2 /src/test/compile-fail/array-old-syntax-2.rs | |
| parent | 76ba3f0dd91719e15cdce8e90aa45f19215a3a3b (diff) | |
| download | rust-b5a782750592c855c4a57821d3704089af5eaf2b.tar.gz rust-b5a782750592c855c4a57821d3704089af5eaf2b.zip | |
delete some old tests
These are for syntaxes that haven't existed for a long time.
Diffstat (limited to 'src/test/compile-fail/array-old-syntax-2.rs')
| -rw-r--r-- | src/test/compile-fail/array-old-syntax-2.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/compile-fail/array-old-syntax-2.rs b/src/test/compile-fail/array-old-syntax-2.rs deleted file mode 100644 index 99ff3ae29f1..00000000000 --- a/src/test/compile-fail/array-old-syntax-2.rs +++ /dev/null @@ -1,15 +0,0 @@ -// 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. - -// Test that the old repeating array syntax gives an error. - -fn main() { - let _ = [0, ..3]; //~ ERROR -} |
