summaryrefslogtreecommitdiff
path: root/test/FileCheck/line-count.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/FileCheck/line-count.txt')
-rw-r--r--test/FileCheck/line-count.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/FileCheck/line-count.txt b/test/FileCheck/line-count.txt
new file mode 100644
index 0000000000..6f91c2050b
--- /dev/null
+++ b/test/FileCheck/line-count.txt
@@ -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
+