blob: c7a72a0ee18cbcd1994b8a6e650e998e9f448c77 [file] [log] [blame]
// REQUIRES: VENDOR=apple
// RUN: %target-swift-frontend -enable-experimental-prespecialization -emit-ir -o/dev/null -O -module-name test -validate-tbd-against-ir=missing %s
@_specialize(exported: true, where T == Float)
public func foo<T>(_ x : T) -> T {
return x
}