Skip to content

Commit 7c754ee

Browse files
committed
[TypeChecker] NFC: Test Swift -> C pointer conversions for [U]Int8 pointers
1 parent 216f8a0 commit 7c754ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Constraints/swift_to_c_pointer_conversions.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func test_mutable_raw_pointer(ptr: UnsafeMutableRawPointer) {
3838
% end
3939
}
4040

41-
%for TestPtrSize in ['16', '32', '64']:
41+
%for TestPtrSize in ['8', '16', '32', '64']:
4242
// Immutable pointers can be converted only to their immutable (regardless of sign) counterparts.
4343
func test_${TestPtrSize}_bit_ptrs(sptr: UnsafePointer<Int${TestPtrSize}>,
4444
uptr: UnsafePointer<UInt${TestPtrSize}>,
@@ -112,7 +112,7 @@ func test_${TestPtrSize}_bit_ptrs(sptr: UnsafePointer<Int${TestPtrSize}>,
112112

113113
% end
114114

115-
%for TestPtrSize in ['16', '32', '64']:
115+
%for TestPtrSize in ['8', '16', '32', '64']:
116116
// Mutable pointers can be converted to both immutable and mutable pointers when
117117
// passed to C/ObjC imported functions.
118118
func test_mutable_${TestPtrSize}_bit_ptrs(sptr: UnsafeMutablePointer<Int${TestPtrSize}>,

0 commit comments

Comments
 (0)