mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
typedef unsigned long ByteCount; typedef unsigned long ItemCount; Both of these are still in use by CoreMIDI, but we don't have a reason to keep them distinct in Swift. rdar://problem/19939552 Swift SVN r25529
10 lines
218 B
Swift
10 lines
218 B
Swift
// RUN: %target-parse-verify-swift %clang-importer-sdk
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
import CoreMIDI
|
|
|
|
func test() {
|
|
let _: String = MIDIGetNumberOfDevices() // expected-error {{'Int' is not convertible to 'String'}}
|
|
}
|