File tree 2 files changed +49
-70
lines changed
expectations/tests/libclang-9
2 files changed +49
-70
lines changed Original file line number Diff line number Diff line change 1
1
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
2
2
3
- static _Float16 global ;
3
+ static __fp16 global ;
4
4
5
- struct A
5
+ struct Test__Float16
6
6
{
7
- _Float16 f ;
7
+ __fp16 f ;
8
8
};
9
9
10
- #define COMPLEX_TEST (ty_ , name_ ) \
11
- struct Test##name_ \
12
- { \
13
- ty_ _Complex mMember; \
14
- }; \
15
- struct Test##name_##Ptr \
16
- { \
17
- ty_ _Complex *mMember; \
18
- };
10
+ struct Test__Float16Ref
11
+ {
12
+ __fp16 * f ;
13
+ };
14
+
15
+ /*
16
+ // This options are currently supported only on specific targets (eg. x86 with sse2)
17
+ _Float16 returns_f16();
18
+
19
+ void gets_f16(_Float16 arg);
20
+
21
+ struct Test__Float16_Complex
22
+ {
23
+ _Float16 _Complex mMember;
24
+ };
25
+
26
+ struct Test__Float16_ComplexPtr
27
+ {
28
+ _Float16 _Complex *mMember;
29
+ };
30
+
31
+ _Float16 _Complex globalValueHalf;
19
32
20
- COMPLEX_TEST ( float , _Float16 )
33
+ _Float16 _Complex returns_f16_complex();
21
34
22
- _Float16 _Complex globalValueHalf ;
35
+ void gets_f16_complex(_Float16 _Complex arg);
36
+ */
You can’t perform that action at this time.
0 commit comments