diff options
| author | Daan Sprenkels <dsprenkels@gmail.com> | 2016-06-24 23:31:00 +0200 |
|---|---|---|
| committer | Daan Sprenkels <dsprenkels@gmail.com> | 2016-06-25 00:11:32 +0200 |
| commit | 7ffd46c9246e1355b2bcec4f0d38450548de7730 (patch) | |
| tree | d99c1d180e9db867f203098b0460fe8432a81c38 | |
| parent | e7bc939f1ee2ada3e3f679fd42c8e08d8a22996f (diff) | |
| download | rust-7ffd46c9246e1355b2bcec4f0d38450548de7730.tar.gz rust-7ffd46c9246e1355b2bcec4f0d38450548de7730.zip | |
add regression test for #33455
| -rw-r--r-- | src/test/parse-fail/issue-33455.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/parse-fail/issue-33455.rs b/src/test/parse-fail/issue-33455.rs new file mode 100644 index 00000000000..96070332f06 --- /dev/null +++ b/src/test/parse-fail/issue-33455.rs @@ -0,0 +1,11 @@ +// 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. + +use foo.bar; //~ ERROR expected one of `::`, `;`, or `as`, found `.` |
