mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If the LLVM/clang is built with release mode and PACKAGE_VENDOR set, it will not print the same string but rather the version number. Permit either string.
6 lines
246 B
Swift
6 lines
246 B
Swift
// RUN: %swift -repl -Xllvm -help 2>&1 | %FileCheck %s --check-prefix=CHECK-HELP
|
|
// CHECK-HELP: -version
|
|
|
|
// RUN: %swift -Xllvm -version -emit-sil %s 2>&1 | %FileCheck %s -check-prefix=CHECK-SIL
|
|
// CHECK-SIL: LLVM {{(http://llvm.org/)|version }}
|