Files
swift-mirror/test/DebugInfo/protocol-sugar.swift
Adrian Prantl 975847d297 Mangler: Auto de-sugar protocol-lists when mangling types for the debugger.
rdar://problem/21511479

Swift SVN r29874
2015-07-02 00:28:17 +00:00

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__"