aboutsummaryrefslogtreecommitdiffstats
path: root/test/FileCheck
diff options
context:
space:
mode:
Diffstat (limited to 'test/FileCheck')
-rw-r--r--test/FileCheck/check-not-diaginfo.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/FileCheck/check-not-diaginfo.txt b/test/FileCheck/check-not-diaginfo.txt
new file mode 100644
index 0000000..a4c3ca8
--- /dev/null
+++ b/test/FileCheck/check-not-diaginfo.txt
@@ -0,0 +1,7 @@
+; RUN: FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix DIAG %s
+
+CHECK-NOT: test
+
+DIAG: CHECK-NOT: pattern specified here
+DIAG-NEXT: CHECK-NOT: test
+DIAG-NEXT: {{^ \^}}