-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41faf8e
commit b5a6813
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
bindgen-tests/tests/expectations/tests/const_array_typedef.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,13 @@ | ||
typedef struct { | ||
int field; | ||
} strct; | ||
|
||
typedef strct typ[1]; | ||
|
||
extern typ w; | ||
extern strct *x; | ||
|
||
extern const typ y; | ||
extern const strct *z; | ||
|
||
void function(const typ a, const strct *b); |