Mercurial > hg > CbC > CbC_llvm
diff llvm/test/FileCheck/check-prefixes.txt @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/llvm/test/FileCheck/check-prefixes.txt Thu Feb 13 15:10:13 2020 +0900 @@ -0,0 +1,12 @@ +// RUN: FileCheck -check-prefix=ANOTHER-PREFIX -input-file %s %s +// +// RUN: %ProtectFileCheckOutput \ +// RUN: not FileCheck -check-prefix=PREFIX -input-file %s %s 2>&1 \ +// RUN: | FileCheck -check-prefix=CHECK-NONEXISTENT-PREFIX %s + +foobar +; ANOTHER-PREFIX: foobar + +; We use regex to match the colon so that FileCheck won't think it is a check +; prefix. +; CHECK-NONEXISTENT-PREFIX: error: no check strings found with prefix 'PREFIX{{:}}'