Files
swift-mirror/validation-test/compiler_crashers_2/0038-lowering-CheckedCastEmitter-emitConditional.swift
2016-02-17 22:40:02 -08:00

5 lines
105 B
Swift

// RUN: not --crash %target-swift-frontend %s -emit-silgen
let a: () -> Int? = { return nil }
a as? Int