Home
last modified time | relevance | path

Searched refs:DerivedClass1 (Results 1 – 3 of 3) sorted by relevance

/external/python/pybind11/tests/
Dtest_class.py30 assert m.check_type(1) == m.DerivedClass1
46 assert m.get_type_of(m.DerivedClass1()) == m.DerivedClass1
52 assert m.get_type_classic(m.DerivedClass1()) == m.DerivedClass1
58 assert m.get_type_of(m.DerivedClass1()) == m.DerivedClass1
68 assert m.as_type(m.DerivedClass1()) == m.DerivedClass1
Dtest_class.cpp115 struct DerivedClass1 : BaseClass { }; in TEST_SUBMODULE() struct
119 py::class_<DerivedClass1>(m, "DerivedClass1").def(py::init<>()); in TEST_SUBMODULE()
122 m.def("return_class_1", []() -> BaseClass* { return new DerivedClass1(); }); in TEST_SUBMODULE()
125 if (n == 1) return new DerivedClass1(); in TEST_SUBMODULE()
153 return py::type::of<DerivedClass1>(); in TEST_SUBMODULE()
/external/llvm-project/clang/test/SemaCXX/
Dcode-seg1.cpp69 struct __declspec(code_seg("my_class")) DerivedClass1 : virtual BaseClass { //OK struct
77 struct __declspec(code_seg("my_derived_one")) DerivedClass3 : DerivedClass1, DerivedClass2 {}; argument