mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
8 lines
239 B
Swift
8 lines
239 B
Swift
// RUN: %target-swift-frontend %s -emit-ir -g -o - | FileCheck %s
|
|
protocol A {}
|
|
protocol B {}
|
|
typealias C = protocol<B, A>
|
|
protocol D {}
|
|
var p: protocol<C, D>?
|
|
// CHECK: !DIGlobalVariable(name: "p", {{.*}}type: !"_TtGSqP4main1AS_1BS_1D__"
|