llvm/test/FileCheck/regex-scope.txt
Mandeep Singh Grang 02972a4b38 [llvm] Remove redundant check-prefix=CHECK from tests. NFC.
Reviewers: t.p.northover, oren_ben_simhon, niravd, mcrosier

Reviewed By: oren_ben_simhon, mcrosier

Subscribers: nhaehnle, javed.absar, llvm-commits

Differential Revision: https://reviews.llvm.org/D35466

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308193 91177308-0d34-0410-b5e6-96231b3b80d8
2017-07-17 17:32:45 +00:00

24 lines
552 B
Plaintext

// RUN: FileCheck -input-file %s %s
// RUN: FileCheck -check-prefixes CHECK,GLOBAL -input-file %s %s
// RUN: FileCheck -check-prefixes CHECK,LOCAL -input-file %s %s
// RUN: FileCheck -check-prefixes CHECK,GLOBAL --enable-var-scope -input-file %s %s
// RUN: not FileCheck -check-prefixes CHECK,LOCAL --enable-var-scope -input-file %s %s
local
global
; CHECK: [[LOCAL:loc.*]]
; CHECK: [[$GLOBAL:glo.*]]
local2
global2
; CHECK: [[LOCAL]]2
; CHECK: [[$GLOBAL]]2
barrier:
; CHECK-LABEL: barrier
local3
global3
; LOCAL: [[LOCAL]]3
; GLOBAL: [[$GLOBAL]]3