Files
swift-mirror/test/Frontend/Xllvm.swift
Saleem Abdulrasool f272e03ccc test: loosen -Xllvm version string matching
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.
2019-02-26 19:48:18 -08:00

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 }}