]> git.proxmox.com Git - rustc.git/blame - src/test/run-pass-fulldeps/macro-quote-test.rs
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / run-pass-fulldeps / macro-quote-test.rs
CommitLineData
1a4d82fc 1// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
223e47cc
LB
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
32a655c1 11// Test that a macro can emit delimiters with nothing inside - `()`, `{}`
1a4d82fc 12
32a655c1
SL
13// aux-build:hello_macro.rs
14// ignore-stage1
970d7e83 15
0bf4aa26 16#![feature(proc_macro_hygiene)]
041b39d2
XL
17
18extern crate hello_macro;
970d7e83 19
32a655c1 20fn main() {
041b39d2 21 hello_macro::hello!();
32a655c1 22}