summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/variadic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/variadic.rs')
-rw-r--r--tests/rustdoc/variadic.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc/variadic.rs b/tests/rustdoc/variadic.rs
new file mode 100644
index 000000000..bd8f1775b
--- /dev/null
+++ b/tests/rustdoc/variadic.rs
@@ -0,0 +1,4 @@
+extern "C" {
+ // @has variadic/fn.foo.html //pre 'pub unsafe extern "C" fn foo(x: i32, ...)'
+ pub fn foo(x: i32, ...);
+}