1 // RUN: FileCheck -input-file %s %s 2 // 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 7 local 8 global 9 ; CHECK: [[LOCAL:loc.*]] 10 ; CHECK: [[$GLOBAL:glo.*]] 11 12 local2 13 global2 14 ; CHECK: [[LOCAL]]2 15 ; CHECK: [[$GLOBAL]]2 16 17 barrier: 18 ; CHECK-LABEL: barrier 19 20 local3 21 global3 22 ; LOCAL: [[LOCAL]]3 23 ; GLOBAL: [[$GLOBAL]]3 24