Files
swift-mirror/test/Frontend/clang-args-diags.swift
Ben Barham 85d176e68b [Test] Re-enable previously failing ASAN test
This was fixed by https://github.com/apple/swift/pull/63881, ie. a stack
use after scope.

Resolves rdar://100508951.
2023-03-28 10:50:47 -07:00

11 lines
708 B
Swift

// RUN: not %swift -Xcc -fake-argument -typecheck %s 2>&1 | %FileCheck %s -check-prefix=CHECK-UNKNOWN-ARG
// CHECK-UNKNOWN-ARG: unknown argument: '-fake-argument'
// RUN: not %swift -Xcc -ivfsoverlay -Xcc %t.nonexistent -typecheck %s 2>&1 | %FileCheck %s -check-prefix=CHECK-VFS-NONEXISTENT
// CHECK-VFS-NONEXISTENT: virtual filesystem overlay file '{{.*}}' not found
// RUN: not %swift -Xcc --version -typecheck %s 2>&1 | %FileCheck %s -check-prefix=CHECK-DRIVER-OPTION
// CHECK-DRIVER-OPTION-DAG: {{clang|LLVM}} version {{[0-9]+\.[0-9]+}}
// CHECK-DRIVER-OPTION-DAG: error: unable to handle compilation, expected exactly one compiler job
// CHECK-DRIVER-OPTION-DAG: error: clang importer creation failed