Revision ac4b68fbf45853ba4b9e327cb42f93f42a8fa252 authored by Ellie Shin on 17 March 2023, 04:14:20 UTC, committed by Ellie Shin on 17 March 2023, 04:14:20 UTC
1 parent f2c68fb
Raw File
GlobalMetatype.swift
// RUN: %target-swift-frontend %s -emit-ir -g -o - | %FileCheck %s

class Foo {}
let x = "Hello World!"

// Test that no static variable for the metatype of Foo is emitted.
// FIXME: This really should be emitted as artificial variable instead.
// CHECK-NOT: DW_TAG_variable{{.*}}_TMnC14GlobalMetatype3Foo
back to top