mirror of
https://github.com/siemens-mobile-hacks/doxygen.git
synced 2026-11-25 22:27:34 +00:00
Remark there are no changes in C++ or Fortran behavior - just two unit tests with similar code in C++ and Fortran.
42 lines
563 B
C++
42 lines
563 B
C++
// objective: test inheritance over namespace works the same in C++ and Fortran (see test 095)
|
|
// check: structm1_1_1t1.xml
|
|
// check: structm1_1_1t2.xml
|
|
// check: structm1_1_1t3.xml
|
|
// check: structm2_1_1t3.xml
|
|
// check: structm3_1_1t4.xml
|
|
// check: namespacem1.xml
|
|
// check: namespacem2.xml
|
|
// check: namespacem3.xml
|
|
|
|
namespace m1
|
|
{
|
|
struct t1
|
|
{
|
|
};
|
|
|
|
struct t2: public t1
|
|
{
|
|
};
|
|
|
|
struct t3: public t2
|
|
{
|
|
};
|
|
}
|
|
|
|
namespace m2
|
|
{
|
|
using namespace m1;
|
|
|
|
struct t3: public t2
|
|
{
|
|
};
|
|
}
|
|
|
|
namespace m3
|
|
{
|
|
using m2::t1;
|
|
|
|
struct t4: public t1
|
|
{
|
|
};
|
|
}
|