summaryrefslogtreecommitdiff
path: root/test/FileCheck/regex-brackets.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/FileCheck/regex-brackets.txt')
-rw-r--r--test/FileCheck/regex-brackets.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/FileCheck/regex-brackets.txt b/test/FileCheck/regex-brackets.txt
new file mode 100644
index 000000000000..fd8568d3a504
--- /dev/null
+++ b/test/FileCheck/regex-brackets.txt
@@ -0,0 +1,7 @@
+// RUN: FileCheck -input-file %s %s
+
+op r1
+op r2, [x r1]
+; CHECK: op [[REG:r[0-9]]]
+; CHECK: op [[REG2:r[0-9]]], [x [[REG]]]
+