-
Notifications
You must be signed in to change notification settings - Fork 720
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the
--merge-extern-blocks
tests
- Loading branch information
Showing
4 changed files
with
116 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
bindgen-tests/tests/expectations/tests/merge_extern_blocks_post_1_82.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
bindgen-tests/tests/expectations/tests/merge_extern_blocks_pre_1_82.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
bindgen-tests/tests/headers/merge_extern_blocks_post_1_82.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// bindgen-flags: --merge-extern-blocks --enable-cxx-namespaces --rust-target=1.82 -- --target=x86_64-unknown-linux | ||
int foo(); | ||
typedef struct Point { | ||
int x; | ||
} Point; | ||
int bar(); | ||
|
||
namespace ns { | ||
int foo(); | ||
typedef struct Point { | ||
int x; | ||
} Point; | ||
int bar(); | ||
} |
14 changes: 14 additions & 0 deletions
14
bindgen-tests/tests/headers/merge_extern_blocks_pre_1_82.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// bindgen-flags: --merge-extern-blocks --enable-cxx-namespaces --rust-target=1.81 -- --target=x86_64-unknown-linux | ||
int foo(); | ||
typedef struct Point { | ||
int x; | ||
} Point; | ||
int bar(); | ||
|
||
namespace ns { | ||
int foo(); | ||
typedef struct Point { | ||
int x; | ||
} Point; | ||
int bar(); | ||
} |