summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/template_partial_specification.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/headers/template_partial_specification.hpp')
-rw-r--r--bindgen-tests/tests/headers/template_partial_specification.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/template_partial_specification.hpp b/bindgen-tests/tests/headers/template_partial_specification.hpp
new file mode 100644
index 00000000..fe1be658
--- /dev/null
+++ b/bindgen-tests/tests/headers/template_partial_specification.hpp
@@ -0,0 +1,10 @@
+// bindgen-flags: -- --target=x86_64-pc-win32
+
+template<typename Method, bool Cancelable>
+struct nsRunnableMethodTraits;
+
+template<class C, typename R, bool Cancelable, typename... As>
+struct nsRunnableMethodTraits<R(C::*)(As...), Cancelable>
+{
+ static const bool can_cancel = Cancelable;
+};