-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't count include locations of main header file.
- Loading branch information
1 parent
6553527
commit 83cd42b
Showing
9 changed files
with
189 additions
and
69 deletions.
There are no files selected for viewing
67 changes: 67 additions & 0 deletions
67
bindgen-tests/tests/expectations/tests/source-order-recursive.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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: -- -Itests/headers -Itests/headers/source-order-recursive | ||
|
||
#ifndef A_H | ||
#define A_H | ||
|
||
struct foo {}; | ||
|
||
#include "source-order-recursive-2.h" | ||
|
||
struct baz { | ||
struct bar field; | ||
}; | ||
|
||
#endif |
5 changes: 5 additions & 0 deletions
5
bindgen-tests/tests/headers/source-order-recursive/source-order-recursive-2.h
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,5 @@ | ||
#include "source-order-recursive.h" | ||
|
||
struct bar { | ||
struct foo field; | ||
}; |
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
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
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
Oops, something went wrong.