-
Notifications
You must be signed in to change notification settings - Fork 707
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
Showing
8 changed files
with
295 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
224 changes: 224 additions & 0 deletions
224
bindgen-tests/tests/expectations/tests/libclang-9/float16.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,24 @@ | ||
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq | ||
|
||
static _Float16 global; | ||
|
||
struct A | ||
{ | ||
_Float16 f; | ||
}; | ||
|
||
#define COMPLEX_TEST(ty_, name_) \ | ||
struct Test##name_ \ | ||
{ \ | ||
ty_ _Complex mMember; \ | ||
}; \ | ||
struct Test##name_##Ptr \ | ||
{ \ | ||
ty_ _Complex *mMember; \ | ||
}; | ||
|
||
COMPLEX_TEST(double, Double) | ||
COMPLEX_TEST(float, Float) | ||
COMPLEX_TEST(float, _Float16) | ||
|
||
_Float16 _Complex globalValueHalf; |
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
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