Files
swift-mirror/test/Serialization/extension_generation_number_2.swift
Saleem Abdulrasool b67d5f0cf7 test: convert rm -rf && mkdir -p into %empty-directory
This converts the instances of the pattern for which we have a proper
substitution in lit.  This will make it easier to replace it
appropriately with Windows equivalents.
2018-03-06 14:30:54 -08:00

13 lines
290 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module -o %t %S/Inputs/extension_generation_number.swift
// RUN: %target-swift-frontend -typecheck -I %t %s
// REQUIRES: objc_interop
import Foundation
import extension_generation_number
func foo(x: NSString) {
x.f()
}