From: <rom...@us...> - 2006-05-14 07:27:46
|
Revision: 75 Author: roman_yakovenko Date: 2006-05-14 00:27:38 -0700 (Sun, 14 May 2006) ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=75&view=rev Log Message: ----------- adding test case for demangled property Added Paths: ----------- pygccxml_dev/unittests/data/demangled.hpp Added: pygccxml_dev/unittests/data/demangled.hpp =================================================================== --- pygccxml_dev/unittests/data/demangled.hpp (rev 0) +++ pygccxml_dev/unittests/data/demangled.hpp 2006-05-14 07:27:38 UTC (rev 75) @@ -0,0 +1,27 @@ +// 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 __demangled_hpp +#define __demangled_hpp + +namespace demangled{ + +template< unsigned long i1, unsigned long i2, unsigned long i3> +struct item_t{ + static const unsigned long v1 = i1; + static const unsigned long v2 = i2; + static const unsigned long v3 = i3; +}; + +struct buggy{ + typedef unsigned long ulong; + typedef item_t< ulong( 0xDEECE66DUL ) | (ulong(0x5) << 32), 0xB, ulong(1) << 31 > my_item_t; + my_item_t my_item_var; +}; + + +} + +#endif//__demangled_hpp \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |