Files
swift-mirror/test/Backtracing/NotImportedByDefault.swift
Alastair Houghton 1258d45152 [Backtracing] Build work.
Additional shimming required for some builds, as well as a few other build
related tweaks.

rdar://106234311
2023-03-04 15:46:30 +00:00

12 lines
328 B
Swift

// RUN: %empty-directory(%t)
// RUN: ( %target-build-swift %s -o %t/NotImportedByDefault || true ) 2>&1 | %FileCheck %s
// Windows chokes on the parens in the above expression
// UNSUPPORTED: OS=windows-msvc
// REQUIRES: backtracing
let backtrace = try! Backtrace.capture()
// CHECK: error: cannot find 'Backtrace' in scope