summaryrefslogtreecommitdiff
path: root/tests/parser/test-003.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-08-22 11:31:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-08-22 11:31:35 +0200
commit66455ad2d34c46650a798738c53bb550d250ab04 (patch)
treeb0d6204841aff9e976f17b7f3319216994bcdcdd /tests/parser/test-003.cli
parent3820d1b1bc4fdd3e5516f27807c3e58ee72e4c20 (diff)
Document rules of the language covered by each test
Diffstat (limited to 'tests/parser/test-003.cli')
-rw-r--r--tests/parser/test-003.cli18
1 files changed, 7 insertions, 11 deletions
diff --git a/tests/parser/test-003.cli b/tests/parser/test-003.cli
index 2413b71..bfd8c72 100644
--- a/tests/parser/test-003.cli
+++ b/tests/parser/test-003.cli
@@ -1,13 +1,9 @@
-namespace n1 {}
-
-namespace n1
+// class-def
+//
+class c1
{
- namespace n2 {}
- class c {};
- namespace n2
- {
- namespace n3 {}
- }
-}
+};
-namespace n4 {}
+class c2
+{
+}; \ No newline at end of file