// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -parse-as-library -verify %s | |
// REQUIRES: objc_interop | |
import UIKit | |
@UIApplicationMain // expected-error{{'UIApplicationMain' class must conform to the 'UIApplicationDelegate' protocol}} | |
class MyNonDelegate { | |
} |