about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-06-29 21:21:21 +0530
committerGitHub <noreply@github.com>2016-06-29 21:21:21 +0530
commitd11ac236b1287ffd809d82b8776f71beeee3c1ab (patch)
tree681213b83df53ba77bbd02c2b1ea920f220cd184
parentfd45e6e9127e737ad7d7bca5efe3c50b0dab03f7 (diff)
parent7ffd46c9246e1355b2bcec4f0d38450548de7730 (diff)
downloadrust-d11ac236b1287ffd809d82b8776f71beeee3c1ab.tar.gz
rust-d11ac236b1287ffd809d82b8776f71beeee3c1ab.zip
Rollup merge of #34460 - dsprenkels:issue-33455, r=alexcrichton
Add regression test for #33455

Closes #33455.
-rw-r--r--src/test/parse-fail/issue-33455.rs11
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 `.`