/
niceSOFT
/
doxygen
Обзор
Документация
Войти
/
niceSOFT
/
doxygen
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
testing/096_namespace_inheritance.cpp
42 строки
563 B
Melven Roehrig-Zoellner
Test Fortran inheritance over modules
15 авг 2022, 11:54
15 авг 2022, 11:54
58ad198
Код
Авторство
О чём код?
// 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 { }; }