2 // aux-build:attr-stmt-expr-rpass.rs
4 #![feature(stmt_expr_attributes, proc_macro_hygiene)]
6 extern crate attr_stmt_expr_rpass as attr_stmt_expr;
7 use attr_stmt_expr::{expect_let, expect_print_stmt, expect_expr, expect_print_expr,
10 fn print_str(string: &'static str) {
11 // macros are handled a bit differently
13 println!("{}", string)
18 let string = "Hello, world!";
21 println!("{}", string);
28 let _: &'static str = #[noop] "Hello, world!";
30 let _: &'static str = {
31 #[noop] "Hello, world!"