2014-09-05 21:50:05 -05:00
|
|
|
// 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.
|
|
|
|
|
|
|
|
// ignore-pretty
|
2015-04-22 17:20:57 -05:00
|
|
|
// ignore-cross-compile
|
2014-09-05 21:50:05 -05:00
|
|
|
|
2015-03-05 20:33:58 -06:00
|
|
|
#![feature(quote, rustc_private)]
|
2014-09-05 21:50:05 -05:00
|
|
|
|
|
|
|
extern crate syntax;
|
|
|
|
|
|
|
|
use syntax::ext::base::ExtCtxt;
|
|
|
|
|
|
|
|
#[allow(dead_code)]
|
|
|
|
fn foobar(cx: &mut ExtCtxt) {
|
2015-01-25 15:05:03 -06:00
|
|
|
quote_expr!(cx, 1);
|
|
|
|
quote_expr!(cx, 2);
|
2014-09-05 21:50:05 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() { }
|