blob: 191cc90123e195b6707f5b6132cca69b9036eb93 [file] [log] [blame]
// RUN: %empty-directory(%t)
// RUN: cp %s %t/main.swift
// RUN: %target-build-swift -Xfrontend -playground -o %t/main %S/Inputs/PlaygroundsRuntime.swift %t/main.swift
// RUN: %target-codesign %t/main
// RUN: %target-run %t/main | %FileCheck %s
// RUN: %target-build-swift -Xfrontend -pc-macro -Xfrontend -playground -o %t/main2 %S/Inputs/PlaygroundsRuntime.swift %S/Inputs/SilentPCMacroRuntime.swift %t/main.swift
// RUN: %target-codesign %t/main2
// RUN: %target-run %t/main2 | %FileCheck %s
// REQUIRES: executable_test
var a = "a"
var b = "b"
a += b
// CHECK: [{{.*}}] __builtin_log[a='a']
// CHECK-NEXT: [{{.*}}] __builtin_log[b='b']
// CHECK-NEXT: [{{.*}}] __builtin_log[a='ab']