Files
swift-mirror/test/Driver/batch_mode_with_pch.swift
Jordan Rose c3f117c9ce [test] Fix Driver tests not to write to PWD (a shared directory) (#19406)
Hopefully fixes some of the weird failures we're seeing in
rdar://problem/42247881, though I'm not sure how it would be
responsible for some of them.
2018-09-20 15:27:48 -07:00

6 lines
275 B
Swift

// RUN: %empty-directory(%t)
// RUN: echo 'print("Hello, World!")' >%t/main.swift
// RUN: touch %t/bridgingHeader.h
//
// RUN: %swiftc_driver -driver-filelist-threshold=0 -enable-batch-mode -num-threads 2 -c %t/main.swift -import-objc-header %t/bridgingHeader.h -o %t/main.o