blob: 4e57ffca21dbc74937dcaa040e572f3c3b7aacef [file] [log] [blame]
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil %s -emit-ir -parse-stdlib -module-name Swift | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
public protocol Error {}
// CHECK-LABEL: @_T0s5ErrorMp = {{(protected )?}}constant %swift.protocol {
// -- 0x0000_0047: special protocol 01, non-class, witness, swift
// CHECK: i32 71,
// CHECK: i16 0,
// CHECK: i16 0,
// CHECK: i32 0 }
public protocol PlainOldProtocol {}
// CHECK-LABEL: @_T0s16PlainOldProtocolMp = {{(protected )?}}constant %swift.protocol {
// -- 0x0000_0007: no special protocol, non-class, witness, swift
// CHECK: i32 7,
// CHECK: i16 0,
// CHECK: i16 0,
// CHECK: i32 0 }