From 2156c2fb6830cddc9cf25ae8b45749683decf421 Mon Sep 17 00:00:00 2001 From: Mauro Iazzi Date: Fri, 6 Mar 2009 18:07:23 +0100 Subject: [PATCH] added some tests to noqt --- test/noqt/n3 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/test/noqt/n3 b/test/noqt/n3 index 24aab18..94e441a 100644 --- a/test/noqt/n3 +++ b/test/noqt/n3 @@ -6,6 +6,32 @@ #include +#include + +namespace N { + + class Shape { + public: + Shape() {} + }; + + class Sphere : public Shape + { + public: + Sphere() {} + }; + + class Geometry { + public: + Geometry(Shape *shape) { assert(shape); } + void add(Shape *shape) { assert(shape); } + }; + +} + + + + typedef std::vector ASomething; class C { -- 2.11.4.GIT