Files
swift-mirror/test/Serialization/inherited-conformance.swift
Jordan Rose 82b9cf5a75 Re-apply "[test] Rely on the stdlib as little as possible."
Correctly, this time.

Swift SVN r25299
2015-02-14 18:57:46 +00:00

14 lines
450 B
Swift

// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: %target-swift-frontend -emit-module -o %t -module-name Base %S/Inputs/inherited-conformance-base.swift
// RUN: %target-swift-frontend -emit-module -o %t -module-name User -I %t %S/Inputs/inherited-conformance-user.swift
// RUN: %target-swift-frontend -parse -I %t %s
import User
var test = User.OneToAThousand()
println(test[test.startIndex])
func useSigned<T: SpecialProto>(_: T) {}
useSigned(5 as Int)