mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
15 lines
197 B
Swift
15 lines
197 B
Swift
// RUN: %swift -triple x86_64-apple-darwin10 %s -emit-llvm -g -o - | FileCheck %s
|
|
|
|
protocol A {
|
|
func x()
|
|
}
|
|
|
|
protocol B {
|
|
func y()
|
|
}
|
|
|
|
// CHECK: _TtP5pcomp1AS_1B_
|
|
func f (arg : protocol<A,B>) {
|
|
}
|
|
|