mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Add FileCheck tests for @LINE
llvm-svn: 193782
This commit is contained in:
parent
42ac0c2775
commit
22e007cc20
11
test/FileCheck/line-count-2.txt
Normal file
11
test/FileCheck/line-count-2.txt
Normal file
@ -0,0 +1,11 @@
|
||||
// RUN: FileCheck -input-file %s %s
|
||||
|
||||
something else
|
||||
CHECK: {{some}}thing else
|
||||
|
||||
foobar
|
||||
|
||||
CHECK: {{foo}}bar
|
||||
ALMOSTCHECK
|
||||
10 wowomg
|
||||
CHECK: [[@LINE-1]] {{wow}}omg
|
15
test/FileCheck/line-count.txt
Normal file
15
test/FileCheck/line-count.txt
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: FileCheck -input-file %s %s
|
||||
2
|
||||
3 aaa
|
||||
4 bbb
|
||||
5 ccc
|
||||
6 CHECK: [[@LINE-3]] {{a}}aa
|
||||
7 CHECK: [[@LINE-3]] {{b}}bb
|
||||
8 CHECK: [[@LINE-3]] {{c}}cc
|
||||
9 foobar
|
||||
10 CHECK: [[@LINE-1]] {{foo}}bar
|
||||
11
|
||||
12 arst CHECK: [[@LINE]] {{a}}rst
|
||||
13
|
||||
14
|
||||
|
Loading…
x
Reference in New Issue
Block a user