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
StringInterpolation.swift
// RUN: %target-swift-frontend %s -emit-ir -g -o - | %FileCheck %s
func markUsed<T>(_ t: T) {}

public func f() {
  // CHECK: !DILocalVariable(name: "$interpolation",
  // CHECK-SAME:             flags: DIFlagArtificial)
  let world = "World"
  var s = "Hello \(world)!"
  markUsed(s)
}
f()
back to top