mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
531 B
Plaintext
12 lines
531 B
Plaintext
// swift-interface-format-version: 1.0
|
|
// swift-module-flags: -module-name DoesNotIgnoreFlags -module-interface-preserve-types-as-written
|
|
|
|
// REQUIRES: OS=macosx
|
|
// RUN: %empty-directory(%t)
|
|
// Without '-ignore-interface-provided-options' this job fails because of the mismatch in 'module-name'
|
|
// RUN: %target-swift-frontend -compile-module-from-interface -module-name IgnoresFlags -ignore-interface-provided-options -o %/t/IgnoresFlags.swiftmodule %s -verify
|
|
|
|
import Swift
|
|
extension Int {
|
|
public static var fortytwo: Int = 42
|
|
} |