Files
swift-mirror/test/ParseableInterface/ModuleCache/ObjCAttrWithoutFoundation.swiftinterface
Jordan Rose 813316190b [ParseableInterface] Don't require Foundation to use @objc
Deinitializers are always @objc. (Arguably, this makes it unnecessary
to print, but we don't want to do any @objc inference at all in a
swiftinterface.)
2018-12-06 14:57:18 -08:00

11 lines
377 B
Plaintext

// swift-interface-format-version: 1.0
// swift-module-flags: -module-name ObjCAttrWithoutFoundation -enable-resilience -enable-objc-interop
// RUN: %empty-directory(%t)
// RUN: echo 'import ObjCAttrWithoutFoundation' | %target-swift-frontend -typecheck -enable-parseable-module-interface -module-cache-path %t -I %S -
public class MyClass {
public init()
@objc deinit
}