Skip to content

Commit d8d48e4

Browse files
committed
work around 15189 in test cases
1 parent eead9e6 commit d8d48e4

10 files changed

+38
-0
lines changed

src/test/run-pass/backtrace.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty FIXME #15189
1112
// ignore-win32 FIXME #13259
1213
extern crate native;
1314

src/test/run-pass/deriving-cmp-generic-enum.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty FIXME #15189
12+
1113
#[deriving(PartialEq, Eq, PartialOrd, Ord)]
1214
enum E<T> {
1315
E0,

src/test/run-pass/deriving-cmp-generic-struct-enum.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty FIXME #15189
12+
1113
#![feature(struct_variant)]
1214

1315
#[deriving(PartialEq, Eq, PartialOrd, Ord)]

src/test/run-pass/deriving-cmp-generic-struct.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty FIXME #15189
12+
1113
#[deriving(PartialEq, Eq, PartialOrd, Ord)]
1214
struct S<T> {
1315
x: T,

src/test/run-pass/deriving-cmp-generic-tuple-struct.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty FIXME #15189
12+
1113
#[deriving(PartialEq, Eq, PartialOrd, Ord)]
1214
struct TS<T>(T,T);
1315

src/test/run-pass/issue-15189.rs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
11+
// ignore-pretty
12+
13+
#![feature(macro_rules)]
14+
15+
macro_rules! third(($e:expr)=>({let x = 2; *$e.get(x)}))
16+
17+
fn main() {
18+
let x = vec!(10u,11u,12u,13u);
19+
let t = third!(x);
20+
assert_eq!(t,12u);
21+
}

src/test/run-pass/linear-for-loop.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty FIXME #15189
12+
1113
extern crate debug;
1214

1315
pub fn main() {

src/test/run-pass/task-comm-3.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty FIXME #15189
12+
1113
extern crate debug;
1214

1315
use std::task;

src/test/run-pass/unfold-cross-crate.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty FIXME #15189
12+
1113
use std::iter::Unfold;
1214

1315
// Unfold had a bug with 'a that mean it didn't work

src/test/run-pass/utf8.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty FIXME #15189
12+
1113
pub fn main() {
1214
let yen: char = '¥'; // 0xa5
1315
let c_cedilla: char = 'ç'; // 0xe7

0 commit comments

Comments
 (0)