From 720c5a33b6a49cf328fdd7611f49153cf8f60247 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 8 Apr 2020 14:51:57 +0300 Subject: Separate tests and examples into individual packages Also make cli module to be explicitly enabled via the config.cli configuration variable. --- cli/cli/semantics/doc.cxx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 cli/cli/semantics/doc.cxx (limited to 'cli/cli/semantics/doc.cxx') diff --git a/cli/cli/semantics/doc.cxx b/cli/cli/semantics/doc.cxx new file mode 100644 index 0000000..c31260c --- /dev/null +++ b/cli/cli/semantics/doc.cxx @@ -0,0 +1,27 @@ +// file : cli/semantics/doc.cxx +// author : Boris Kolpackov +// license : MIT; see accompanying LICENSE file + +#include + +#include + +namespace semantics +{ + // type info + // + namespace + { + struct init + { + init () + { + using compiler::type_info; + + type_info ti (typeid (doc)); + ti.add_base (typeid (nameable)); + insert (ti); + } + } init_; + } +} -- cgit v1.1