Skip to content

Commit

Permalink
Update the --merge-extern-blocks tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdrz committed Dec 2, 2024
1 parent 0e568fa commit 9b6d34f
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions bindgen-tests/tests/headers/merge_extern_blocks_post_1_82.hpp
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 bindgen-tests/tests/headers/merge_extern_blocks_pre_1_82.hpp
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();
}

0 comments on commit 9b6d34f

Please sign in to comment.