comparison llvm/test/FileCheck/check-prefixes.txt @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
1 // RUN: FileCheck -check-prefix=ANOTHER-PREFIX -input-file %s %s
2 //
3 // RUN: %ProtectFileCheckOutput \
4 // RUN: not FileCheck -check-prefix=PREFIX -input-file %s %s 2>&1 \
5 // RUN: | FileCheck -check-prefix=CHECK-NONEXISTENT-PREFIX %s
6
7 foobar
8 ; ANOTHER-PREFIX: foobar
9
10 ; We use regex to match the colon so that FileCheck won't think it is a check
11 ; prefix.
12 ; CHECK-NONEXISTENT-PREFIX: error: no check strings found with prefix 'PREFIX{{:}}'