blob: 989f422c6bcd3d10629f69ca6922f1f7187802f2 [file] [log] [blame]
Mandeep Singh Grang02972a42017-07-17 17:32:45 +00001// RUN: FileCheck -input-file %s %s
Artem Belevichbb9779a2017-03-09 17:59:04 +00002// RUN: FileCheck -check-prefixes CHECK,GLOBAL -input-file %s %s
3// RUN: FileCheck -check-prefixes CHECK,LOCAL -input-file %s %s
4// RUN: FileCheck -check-prefixes CHECK,GLOBAL --enable-var-scope -input-file %s %s
5// RUN: not FileCheck -check-prefixes CHECK,LOCAL --enable-var-scope -input-file %s %s
6
7local
8global
9; CHECK: [[LOCAL:loc.*]]
10; CHECK: [[$GLOBAL:glo.*]]
11
12local2
13global2
14; CHECK: [[LOCAL]]2
15; CHECK: [[$GLOBAL]]2
16
17barrier:
18; CHECK-LABEL: barrier
19
20local3
21global3
22; LOCAL: [[LOCAL]]3
23; GLOBAL: [[$GLOBAL]]3