Skip to content

Commit b40a5be

Browse files
committed
[Driver][test] Don't check the version in the triple
On a macOS host the version may be different. Fix: 9f77fac
1 parent 1b235b0 commit b40a5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/unsupported-target-arch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@
6262

6363
// RUN: not %clang --target=powerpc-apple-darwin -o /dev/null %s 2> %t.err
6464
// RUN: FileCheck --input-file=%t.err --check-prefix=CHECK-PPCMAC %s
65-
// CHECK-PPCMAC: error: unknown target triple 'unknown-apple-macosx10.4.0'{{$}}
65+
// CHECK-PPCMAC: error: unknown target triple 'unknown-apple-macosx{{.*}}'

0 commit comments

Comments
 (0)