aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/syntax-extension-shell.rs
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-10-01 14:54:40 -0700
committerGraydon Hoare <[email protected]>2010-10-01 14:54:40 -0700
commitd07f7533b0f336ff27ca4ba90aec0e0204ca7b92 (patch)
treeb306c236c22eeb47fa67849ad8a50a3f0fb66bd2 /src/test/run-pass/syntax-extension-shell.rs
parentFix bug in bind thunks failing top drop unbound args; add test and adjust rus... (diff)
downloadrust-d07f7533b0f336ff27ca4ba90aec0e0204ca7b92.tar.xz
rust-d07f7533b0f336ff27ca4ba90aec0e0204ca7b92.zip
Sketch out #fmt syntax extension in rustboot.
Diffstat (limited to 'src/test/run-pass/syntax-extension-shell.rs')
-rw-r--r--src/test/run-pass/syntax-extension-shell.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-pass/syntax-extension-shell.rs b/src/test/run-pass/syntax-extension-shell.rs
new file mode 100644
index 00000000..509b6d8b
--- /dev/null
+++ b/src/test/run-pass/syntax-extension-shell.rs
@@ -0,0 +1,4 @@
+fn main() {
+ auto s = #shell { uname -a };
+ log s;
+}