summaryrefslogtreecommitdiff
path: root/tests/headers
diff options
context:
space:
mode:
authorChristian Poveda <christian.poveda@ferrous-systems.com>2022-08-12 13:36:16 -0500
committerEmilio Cobos Álvarez <emilio@crisal.io>2022-08-18 18:08:37 +0200
commitc5995bda24d628ddecda8bbe10db9b4415cc973a (patch)
tree2daf81a616a52739c0b8f7bfa58d156707a8cc84 /tests/headers
parent15a720bafa435d95cfb4896beeb1140bc0536595 (diff)
test warning emission
Diffstat (limited to 'tests/headers')
-rw-r--r--tests/headers/allowlist_warnings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/headers/allowlist_warnings.h b/tests/headers/allowlist_warnings.h
new file mode 100644
index 00000000..83c9e259
--- /dev/null
+++ b/tests/headers/allowlist_warnings.h
@@ -0,0 +1,2 @@
+// bindgen-flags: --allowlist-function "doesnt_match_anything"
+int non_matched_function(int arg);