summaryrefslogtreecommitdiffstats
path: root/vendor/libnghttp2-sys/examples/smoke.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libnghttp2-sys/examples/smoke.rs')
-rw-r--r--vendor/libnghttp2-sys/examples/smoke.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/libnghttp2-sys/examples/smoke.rs b/vendor/libnghttp2-sys/examples/smoke.rs
new file mode 100644
index 0000000..0a45f01
--- /dev/null
+++ b/vendor/libnghttp2-sys/examples/smoke.rs
@@ -0,0 +1,7 @@
+extern crate libnghttp2_sys as ffi;
+
+fn main() {
+ unsafe {
+ ffi::nghttp2_version(0);
+ }
+}