Files
swift-mirror/test/IRGen/empty_enum.swift
Saleem Abdulrasool d335158844 test: correct a couple of tests for Windows
On Windows, we do not emit the base type pointer and instead will fill
that in at runtime just like the resilient strategy.  Permit this in the
IRGen checks.
2019-02-07 10:02:25 -08:00

7 lines
282 B
Swift

// RUN: %target-swift-frontend -primary-file %s -emit-ir | %FileCheck %s
// CHECK: @"$s10empty_enum6JamaisOMf" =
// CHECK-SAME: {{@"\$sytWV"|i8\*\* getelementptr inbounds \(%swift.enum_vwtable, %swift.enum_vwtable\* @"\$s10empty_enum6JamaisOWV", i32 0, i32 0\)}}
enum Jamais {}