Files
swift-mirror/test/Compatibility/attr_inlinable_old_spelling_4.swift
2018-07-02 21:14:22 -07:00

10 lines
312 B
Swift

// RUN: %target-typecheck-verify-swift -swift-version 4
// In -swift-version 4 mode, the old spelling is silently parsed as the new spelling.
@_inlineable public func oldInlinableFunction() {}
@_versioned func oldVersionedFunction() {}
// No warning here
@_inlineable @_versioned func redundantAttribute() {}