Files
swift-mirror/test/IDE/sdk_sugar.swift
John McCall b641cd9320 When stripping "AndReturnError" causes a conflict, don't do it,
but do continue to remove the error parameter.

Swift SVN r28068
2015-05-02 02:10:30 +00:00

12 lines
329 B
Swift

// RUN: rm -rf %t
// RUN: mkdir -p %t
// RUN: %target-swift-ide-test -print-module -module-print-submodules -module-to-print=Foundation -function-definitions=false -source-filename %s > %t/out 2>&1
// RUN: FileCheck -input-file=%t/out %s
// REQUIRES: objc_interop
import Foundation
// CHECK: func loadAndReturnError() throws