aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <[email protected]>2011-02-01 13:40:04 -0500
committerGraydon Hoare <[email protected]>2011-02-01 16:57:33 -0800
commit4b06dc574ba7d3ae50795cbe4f10d4be6e9c64a1 (patch)
tree1a0d2181f0bd124dfb13277fe74ca674c9db757e /src/test
parentPick up case for expr_block from brson's other branch. (diff)
downloadrust-4b06dc574ba7d3ae50795cbe4f10d4be6e9c64a1.tar.xz
rust-4b06dc574ba7d3ae50795cbe4f10d4be6e9c64a1.zip
Add very minimal support for native modules. For now they must be empty.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/native2.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/run-pass/native2.rs b/src/test/run-pass/native2.rs
new file mode 100644
index 00000000..abb63352
--- /dev/null
+++ b/src/test/run-pass/native2.rs
@@ -0,0 +1,5 @@
+native "rust" mod rustrt {
+}
+
+fn main(vec[str] args) {
+}