summaryrefslogtreecommitdiffstats
path: root/libxml2/test/automata/abba
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/automata/abba')
-rw-r--r--libxml2/test/automata/abba30
1 files changed, 30 insertions, 0 deletions
diff --git a/libxml2/test/automata/abba b/libxml2/test/automata/abba
new file mode 100644
index 0000000..86c08f1
--- /dev/null
+++ b/libxml2/test/automata/abba
@@ -0,0 +1,30 @@
+#
+# Tests ab*a with an eliminated epsilon transition
+#
+t 0 1 a
+t 1 2 b
+e 1 2
+t 2 2 b
+t 2 3 a
+f 3
+-------
+a
+a
+=>
+# Pass
+a
+b
+b
+a
+=>
+# Pass
+a
+b
+=>
+# Fail
+a
+b
+a
+b
+=>
+# Fail