summaryrefslogtreecommitdiff
path: root/tests/test_builtins.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_builtins.rs')
-rw-r--r--tests/test_builtins.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test_builtins.rs b/tests/test_builtins.rs
new file mode 100644
index 00000000..35cd573c
--- /dev/null
+++ b/tests/test_builtins.rs
@@ -0,0 +1,13 @@
+#![feature(phase)]
+
+#[phase(plugin)]
+extern crate bindgen;
+
+extern crate libc;
+
+#[test]
+fn test_builtin_va_list() {
+ mod ffi { bindgen!("headers/builtin_va_list.h", emit_builtins = true); }
+ // Should test for more than compilation.
+}
+