about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-09-29 08:12:51 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-09-29 08:12:51 -0700
commit792e32bcfc121a64ce59664949cf4e5df71cf201 (patch)
tree5637d17805b711816b8534efda5cb7976a6cd27c /src/test
parent757fa6ffbaea0c2ddfba31d6c5777f0a61722947 (diff)
parentfc1b908322a5a2ebf8aa599d7178accdd3cbaed9 (diff)
downloadrust-792e32bcfc121a64ce59664949cf4e5df71cf201.tar.gz
rust-792e32bcfc121a64ce59664949cf4e5df71cf201.zip
rollup merge of #17576 : kmcallister/hide-quotes
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/non-built-in-quote.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/run-pass/non-built-in-quote.rs b/src/test/run-pass/non-built-in-quote.rs
new file mode 100644
index 00000000000..c6dd3736857
--- /dev/null
+++ b/src/test/run-pass/non-built-in-quote.rs
@@ -0,0 +1,17 @@
+// Copyright 2014 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.
+
+#![feature(macro_rules)]
+
+macro_rules! quote_tokens ( () => (()) )
+
+pub fn main() {
+    quote_tokens!();
+}