diff options
| author | Corey Farwell <coreyf@rwell.org> | 2016-08-08 18:33:16 -0400 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2016-08-08 18:33:16 -0400 |
| commit | 9d6fa40ba181cbb50ff06978f2b7b2905854bed5 (patch) | |
| tree | 60ad48983f0cc8869a2f107988e86e24ffbeb7f3 /src | |
| parent | f84008b5586b0c35b117df2bc34410ad1d1a4e86 (diff) | |
| download | rust-9d6fa40ba181cbb50ff06978f2b7b2905854bed5.tar.gz rust-9d6fa40ba181cbb50ff06978f2b7b2905854bed5.zip | |
Add regression test for #22894.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/run-pass/issue-22894.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/run-pass/issue-22894.rs b/src/test/run-pass/issue-22894.rs new file mode 100644 index 00000000000..8acd88deef2 --- /dev/null +++ b/src/test/run-pass/issue-22894.rs @@ -0,0 +1,13 @@ +// Copyright 2016 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. + +#[allow(dead_code)] +static X: &'static str = &*""; +fn main() {} |
