Revision: 74
Author: roman_yakovenko
Date: 2006-05-14 00:27:09 -0700 (Sun, 14 May 2006)
ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=74&view=rev
Log Message:
-----------
adding test case for unnamed namespace bug
Added Paths:
-----------
pygccxml_dev/unittests/data/unnamed_ns_bug.hpp
Added: pygccxml_dev/unittests/data/unnamed_ns_bug.hpp
===================================================================
--- pygccxml_dev/unittests/data/unnamed_ns_bug.hpp (rev 0)
+++ pygccxml_dev/unittests/data/unnamed_ns_bug.hpp 2006-05-14 07:27:09 UTC (rev 74)
@@ -0,0 +1,24 @@
+// Copyright 2004 Roman Yakovenko.
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef __unnamed_ns_bug_hpp__
+#define __unnamed_ns_bug_hpp__
+
+// unnamed namespace
+namespace{
+ bool bool_var;
+}
+
+namespace ns{
+
+class test_t{
+public:
+ int var;
+};
+
+}
+
+
+#endif//__unnamed_ns_bug_hpp__
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|