summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-01-19 09:40:30 -0800
committerGitHub <noreply@github.com>2017-01-19 09:40:30 -0800
commit4ac39de18b96bd9488a17cf2650994a3584d440c (patch)
treede6ba17b4d0431f9b480d56f1080137a4a435759 /libbindgen/tests/headers
parentbe53b94cae2618653f885290956edcf1e5545078 (diff)
parentb743ab0d5fa222c8d4e7a59a7d3952d042eb2e5d (diff)
Auto merge of #403 - emilio:variadic-fn, r=fitzgen
codegen: Don't implement variadic methods. Fixes #402 r? @fitzgen
Diffstat (limited to 'libbindgen/tests/headers')
-rw-r--r--libbindgen/tests/headers/variadic-method.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/variadic-method.hpp b/libbindgen/tests/headers/variadic-method.hpp
new file mode 100644
index 00000000..78a8eb45
--- /dev/null
+++ b/libbindgen/tests/headers/variadic-method.hpp
@@ -0,0 +1,6 @@
+
+void foo(const char* fmt, ...);
+
+struct Bar {
+ void foo(const char* fmt, ...);
+};