]> git.proxmox.com Git - rustc.git/blame - src/test/compile-fail/enable-orbit-for-incr-comp.rs
New upstream version 1.12.1+dfsg1
[rustc.git] / src / test / compile-fail / enable-orbit-for-incr-comp.rs
CommitLineData
9cc50fc6 1// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
223e47cc
LB
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
5bcae85e
SL
11// ignore-pretty
12// compile-flags:-Zincremental=tmp/cfail-tests/enable-orbit-for-incr-comp -Zorbit=off
13// error-pattern:Automatically enabling `-Z orbit` because `-Z incremental` was specified
223e47cc 14
5bcae85e 15#![deny(warnings)]
223e47cc 16
9cc50fc6 17fn main() {
5bcae85e
SL
18 FAIL! // We just need some compilation error. What we really care about is
19 // that the error pattern above is checked.
9cc50fc6 20}