blob: 89987be24a34a7d38fb7258ed0bbf7e75caa2405 [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 a = 2
var b = 3
a + b
// CHECK: [{{.*}}] __builtin_log[a='2']
// CHECK-NEXT: [{{.*}}] __builtin_log[b='3']
// CHECK-NEXT: [{{.*}}] __builtin_log[='5']