// 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 | |
} |