Files
swift-mirror/validation-test/compiler_crashers_2_fixed/rdar67360656.swift
Robert Widmann 591c70e364 Fix Crashes When Resolving Clang Types For Unrepresentable UnsafePointers
If the underlying pointer type was not representable in C, we would
attempt to form a pointer type with a null underlying type and crash.
2020-11-10 16:04:05 -08:00

5 lines
248 B
Swift

// RUN: not %target-swift-frontend -typecheck %s
public typealias GUID = (a: UInt32, b: UInt16, c: UInt16, d: UInt8, e: UInt8, f: UInt8, g: UInt8, h: UInt8, i: UInt8, j: UInt8, k: UInt8)
let function1: @convention(c) (UnsafePointer<GUID>) -> Void