blob: f0f2003d33dba7fb47e9c553f3456fe05383ded7 [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-run %t/main | %FileCheck %s
// RUN: %target-build-swift -Xfrontend -pc-macro -Xfrontend -playground -o %t/main %S/Inputs/PlaygroundsRuntime.swift %S/Inputs/SilentPCMacroRuntime.swift %t/main.swift
// RUN: %target-run %t/main | %FileCheck %s
// REQUIRES: executable_test
var foo = [true, false]
foo.append(true)
// CHECK: [{{.*}}] __builtin_log[foo='[true, false]']
// CHECK-NEXT: [{{.*}}] __builtin_log[foo='[true, false, true]']