llvm.org GIT mirror llvm / 67b5214
Add FileCheck tests for @LINE git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193782 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Arsenault 5 years ago
2 changed file(s) with 26 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 // RUN: FileCheck -input-file %s %s
1
2 something else
3 CHECK: {{some}}thing else
4
5 foobar
6
7 CHECK: {{foo}}bar
8 ALMOSTCHECK
9 10 wowomg
10 CHECK: [[@LINE-1]] {{wow}}omg
0 ; RUN: FileCheck -input-file %s %s
1 2
2 3 aaa
3 4 bbb
4 5 ccc
5 6 CHECK: [[@LINE-3]] {{a}}aa
6 7 CHECK: [[@LINE-3]] {{b}}bb
7 8 CHECK: [[@LINE-3]] {{c}}cc
8 9 foobar
9 10 CHECK: [[@LINE-1]] {{foo}}bar
10 11
11 12 arst CHECK: [[@LINE]] {{a}}rst
12 13
13 14
14