Skip to content

Commit f272e03

Browse files
committed
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.
1 parent c2bc4d8 commit f272e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Frontend/Xllvm.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
// CHECK-HELP: -version
33

44
// RUN: %swift -Xllvm -version -emit-sil %s 2>&1 | %FileCheck %s -check-prefix=CHECK-SIL
5-
// CHECK-SIL: LLVM (http://llvm.org/)
5+
// CHECK-SIL: LLVM {{(http://llvm.org/)|version }}

0 commit comments

Comments
 (0)