// RUN: %target-swift-frontend %s -emit-ir -g -o - | FileCheck %s protocol A {} protocol B {} typealias C = protocol protocol D {} var p: protocol? // CHECK: !DIGlobalVariable(name: "p", {{.*}}type: !"_TtGSqP4main1AS_1BS_1D__"