Michael Woerister | 6ae60ea | 2017-10-27 12:32:26 | [diff] [blame] | 1 | // Copyright 2017 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-tidy-linelength |
Irina Popa | b63d7e2 | 2018-05-08 13:10:16 | [diff] [blame^] | 12 | // compile-flags:-Zprint-mono-items=lazy |
Michael Woerister | 6ae60ea | 2017-10-27 12:32:26 | [diff] [blame] | 13 | |
Irina Popa | b63d7e2 | 2018-05-08 13:10:16 | [diff] [blame^] | 14 | // NB: We do not expect *any* monomorphization to be generated here. |
Michael Woerister | 6ae60ea | 2017-10-27 12:32:26 | [diff] [blame] | 15 | |
| 16 | #![deny(dead_code)] |
| 17 | #![crate_type = "rlib"] |
| 18 | |
| 19 | #[inline] |
| 20 | pub fn foo() -> bool { |
| 21 | [1, 2] == [3, 4] |
| 22 | } |