File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
test/Interop/SwiftToC/structs Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 4
4
5
5
// RUN: %check-interop-c-header-in-clang(%t/structs.h -Wno-unused-function)
6
6
7
- // 32-bit disabled because of rdar://102147255
8
- // REQUIRES: PTRSIZE=64
9
-
10
7
public struct StructOneI64 {
11
8
let x : Int64
12
9
}
@@ -22,15 +19,15 @@ public struct StructDoubleAndFloat {
22
19
}
23
20
24
21
// CHECK: struct Structs_StructDoubleAndFloat {
25
- // CHECK-NEXT: _Alignas(8 ) char _storage[12];
22
+ // CHECK-NEXT: _Alignas({{4|8}} ) char _storage[12];
26
23
// CHECK-NEXT: };
27
24
28
25
// CHECK: struct Structs_StructOneI64 {
29
- // CHECK-NEXT: _Alignas(8 ) char _storage[8];
26
+ // CHECK-NEXT: _Alignas({{4|8}} ) char _storage[8];
30
27
// CHECK-NEXT: };
31
28
32
29
// CHECK: struct Structs_StructU16AndPointer {
33
- // CHECK-NEXT: _Alignas(8 ) char _storage[16];
30
+ // CHECK-NEXT: _Alignas({{4|8}} ) char _storage[16];
34
31
// CHECK-NEXT: };
35
32
36
33
public func returnNewStructOneI64( ) -> StructOneI64 { return StructOneI64 ( x: 42 ) }
You can’t perform that action at this time.
0 commit comments