summaryrefslogtreecommitdiff
path: root/tests/parser/test-002.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-08-22 10:25:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-08-22 10:25:12 +0200
commitfabbe60b014a02b2ab94e57ab3866e28c67d36ce (patch)
tree4d776980683dcc118392bd7b67520383918be8ab /tests/parser/test-002.cli
parent1470fed809be7b11f147f8a6ca924a252b473c97 (diff)
Add a test for the parser
Diffstat (limited to 'tests/parser/test-002.cli')
-rw-r--r--tests/parser/test-002.cli13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/parser/test-002.cli b/tests/parser/test-002.cli
new file mode 100644
index 0000000..2413b71
--- /dev/null
+++ b/tests/parser/test-002.cli
@@ -0,0 +1,13 @@
+namespace n1 {}
+
+namespace n1
+{
+ namespace n2 {}
+ class c {};
+ namespace n2
+ {
+ namespace n3 {}
+ }
+}
+
+namespace n4 {}