Revision d9b2fe601b793741633d77606c4618e63612fbb2 authored by Chris Lattner on 10 January 2016, 04:17:56 UTC, committed by Chris Lattner on 10 January 2016, 04:17:56 UTC
1 parent 0fbbf59
Raw File
protocol_cast_toplevel.swift
// RUN: %target-swift-frontend -emit-silgen %s -disable-objc-attr-requires-foundation-module

// REQUIRES: objc_interop

@objc protocol Unrelated {}

@objc class C {}

let c = C()
let unrelated = c as! Unrelated
back to top