Skip to content

Commit cd5b843

Browse files
WardBrianpvdrz
authored andcommitted
Add test showing bad behavior for non-functions
1 parent 594009b commit cd5b843

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

bindgen-tests/tests/expectations/tests/wrap_unsafe_ops_dynamic_loading_simple.rs

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/headers/wrap_unsafe_ops_dynamic_loading_simple.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
int foo(int x, int y);
44
int bar(void *x);
55
int baz();
6+
7+
const int FLUX;

0 commit comments

Comments
 (0)