mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
8 lines
344 B
Swift
8 lines
344 B
Swift
// RUN: rm -rf %t && mkdir -p %t
|
|
// RUN: %target-swift-frontend -emit-module-path %t/Globals.swiftmodule %S/Globals.swift
|
|
// RUN: %target-swift-frontend -I %t %s -g -emit-ir -o - | FileCheck %s
|
|
import Globals
|
|
// No debug info should be emitted for an externally defined global variable.
|
|
// CHECK-NOT: !DIGlobalVariable({{.*}}global
|
|
global = 23
|