mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
9 lines
283 B
Swift
9 lines
283 B
Swift
// RUN: %target-swift-frontend %s -emit-ir -g -o - | %FileCheck %s
|
|
protocol A {}
|
|
protocol B {}
|
|
typealias C = B & A
|
|
protocol D {}
|
|
var p: (C & D)?
|
|
// CHECK-DAG: !DIGlobalVariable(name: "p", {{.*}}type: ![[TY:[0-9]+]]
|
|
// CHECK-DAG: ![[TY]] = {{.*}}identifier: "_T04main1A_AA1BAA1DpSgD"
|