From 443293aaf09eca7c3b88d621d056c4effee2c248 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 May 2012 17:54:18 +0200 Subject: Implement option class inheritance For now multiple, non-virtual inheritance is supported. An option class can now also be declared abstract using the class c = 0 {...}; syntax. New option, --exclude-base, controls whether base class information is present in usage and documentation. --- tests/parser/test-007-base.cli | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/parser/test-007-base.cli (limited to 'tests/parser/test-007-base.cli') diff --git a/tests/parser/test-007-base.cli b/tests/parser/test-007-base.cli new file mode 100644 index 0000000..7c02a39 --- /dev/null +++ b/tests/parser/test-007-base.cli @@ -0,0 +1,11 @@ +class b1 {}; + +namespace n1 +{ + class b2 {}; + + namespace i1 + { + class b3 {}; + } +} -- cgit v1.1