aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/parser/recursive/test-001.std
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-27 19:55:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-27 19:55:14 +0200
commit14b909b25dec8e68f7bcb35e89ce503c5f12967c (patch)
treeb6ed37a611d99eb5e3110a4a048e55b4ca447e47 /tests/cxx/parser/recursive/test-001.std
parent686b15bcd3d9045fdb4679970b0f39466125abf8 (diff)
Reimplement state stack not to move elements
Add another recursive parsing test that forces second allocation in the stack.
Diffstat (limited to 'tests/cxx/parser/recursive/test-001.std')
-rw-r--r--tests/cxx/parser/recursive/test-001.std123
1 files changed, 123 insertions, 0 deletions
diff --git a/tests/cxx/parser/recursive/test-001.std b/tests/cxx/parser/recursive/test-001.std
new file mode 100644
index 0000000..9acdc4c
--- /dev/null
+++ b/tests/cxx/parser/recursive/test-001.std
@@ -0,0 +1,123 @@
+test::pre
+test::name: testName
+a::pre
+a::name: 1
+b::pre
+b::name: b1
+b::post
+a::b
+a::pre
+a::name: 2
+b::pre
+b::name: b1
+b::post
+a::b
+a::pre
+a::name: 3
+b::pre
+b::name: b3
+b::post
+a::b
+a::pre
+a::name: 4
+b::pre
+b::name: b4
+b::post
+a::b
+a::pre
+a::name: 5
+b::pre
+b::name: b5
+b::post
+a::b
+a::pre
+a::name: 6
+b::pre
+b::name: b6
+b::post
+a::b
+a::pre
+a::name: 7
+b::pre
+b::name: b7
+b::post
+a::b
+a::pre
+a::name: 8
+b::pre
+b::name: b8
+b::post
+a::b
+a::pre
+a::name: 9
+b::pre
+b::name: b9
+b::post
+a::b
+a::pre
+a::name: 10
+b::pre
+b::name: b10
+b::post
+a::b
+a::pre
+a::name: 11
+b::pre
+b::name: b11
+b::post
+a::b
+a::pre
+a::name: 12
+b::pre
+b::name: b12
+b::post
+a::b
+a::pre
+a::name: 13
+b::pre
+b::name: b13
+b::post
+a::b
+a::pre
+a::name: 14
+b::pre
+b::name: b14
+b::post
+a::b
+a::pre
+a::name: 15
+b::pre
+b::name: b15
+b::post
+a::b
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+a::a
+a::post
+test::a
+test::post