Skip to content

Commit a478fd1

Browse files
committed
Update the --merge-extern-blocks tests
1 parent be9b4b9 commit a478fd1

File tree

4 files changed

+116
-0
lines changed

4 files changed

+116
-0
lines changed

bindgen-tests/tests/expectations/tests/merge_extern_blocks_post_1_82.rs

+44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/merge_extern_blocks_pre_1_82.rs

+44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// bindgen-flags: --merge-extern-blocks --enable-cxx-namespaces --rust-target=1.82 -- --target=x86_64-unknown-linux
2+
int foo();
3+
typedef struct Point {
4+
int x;
5+
} Point;
6+
int bar();
7+
8+
namespace ns {
9+
int foo();
10+
typedef struct Point {
11+
int x;
12+
} Point;
13+
int bar();
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// bindgen-flags: --merge-extern-blocks --enable-cxx-namespaces --rust-target=1.81 -- --target=x86_64-unknown-linux
2+
int foo();
3+
typedef struct Point {
4+
int x;
5+
} Point;
6+
int bar();
7+
8+
namespace ns {
9+
int foo();
10+
typedef struct Point {
11+
int x;
12+
} Point;
13+
int bar();
14+
}

0 commit comments

Comments
 (0)