Searched refs:derived (Results 1 - 25 of 108) sorted by relevance

12345

/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.benjamin/
H A D17922.C7 struct derived : public base { struct in inherits:base
8 derived (const derived&);
9 derived (const base&);
14 static void mf (derived);
17 void foo (const derived aaa) {
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/compat/break/
H A Dvbase11_x.C3 extern void vbase11_y (derived&);
6 int derived::foo() { return 2; }
7 int derived::bar() { return 3; }
11 derived d;
H A Dvbase11_y.C5 void vbase11_y (derived& d)
H A Dvbase11.h7 struct derived: virtual base struct in inherits:base
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/other/
H A Dinfloop-1.C8 struct derived : base1, base2, base3 { }; struct in inherits:base1,base2,base3
10 void foo(derived);
14 foo(derived());
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/
H A Dconstexpr.cc26 struct derived : public std::enable_shared_from_this<int> struct in inherits:std::enable_shared_from_this
28 constexpr derived() { } function in struct:derived
34 test.operator()<derived>();
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist-protected.C11 class derived : public base class in inherits:base
14 derived() function in class:derived
21 derived d1;
H A Dconstexpr-empty9.C6 struct derived : base { struct in inherits:base
7 constexpr derived(): function in struct:derived
14 constexpr int by_ref(derived && value) {
18 constexpr int value = by_ref(derived{});
H A Dvariadic96.C11 struct derived struct in inherits:base
12 : public base< T, derived< T... > >...
16 struct base< a, derived< T... > >
18 typedef derived< T... >
24 derived< a > instance;
H A Dnot_special.C27 struct derived // { dg-message "declares a move" } struct in inherits:base
30 derived() {} function in struct:derived
31 derived(derived&&) {} function in struct:derived
32 derived& operator=(derived&&) {return *this;}
37 derived d;
38 derived d2(static_cast<derived&&>(d)); // should not call base::(const base&)
40 derived d
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/
H A Dpr33589-1.C3 struct derived : public base { }; struct in inherits:base
8 operator derived*() const
13 typedef void ( derived::* methodptr_type )();
16 return &derived::somemethod;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Ddtors2.C4 // check that when you destruct an object of a derived class for
31 struct derived : public base struct in inherits:base
34 derived();
35 ~derived();
38 derived::derived() : base() function in class:derived
46 derived::~derived()
70 derived a;
73 bp = new derived;
[all...]
H A Ddtors1.C3 // Check that when an object of a derived class is (implicitly)
27 struct derived : public base { struct in inherits:base
30 derived() function in struct:derived
34 ~derived()
54 derived derived_object;
H A Ddtors3.C4 // when an object of a derived class is destructed via a pointer
34 struct derived : public middle { struct in inherits:middle
37 //~derived () {}
42 base* bp = new derived;
44 derived *dp = new derived;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Ddllimport12.C17 struct derived : public base struct in inherits:base
20 __attribute__((dllimport)) ~derived();
23 void derived::key_method() {}
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/inherit/
H A Dconv2.C11 class derived : public base { class in inherits:base
13 derived() {} function in class:derived
16 static bool x = true ? (derived*)0 : (base*)0;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Dmeminit3.C9 struct derived : base<T> { struct in inherits:base
10 typedef typename derived::base_type::base_type base_type;
11 derived() : base_type() {} function in struct:derived
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/ios_base/storage/
H A D3.cc26 class derived : public std::ios_base class in inherits:std::ios_base
29 derived() {} function in class:derived
34 derived d;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dtemplate29.C12 class derived : public base<sizeof(T)> class in inherits:base
15 inline derived();
19 inline derived<T>::derived() : base<sizeof(T)>(){} function in class:derived
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Dref2.C9 Derived derived();
10 const Base &b = derived();
H A Dvalue5.C12 class derived : public base { class in inherits:base
16 return new derived();
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/
H A DWstrict-aliasing-bogus-base-derived.C10 class derived: public base { class in inherits:base
16 derived d;
17 base* pb = &d; /* { dg-bogus "base vs. derived" } */
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dvisibility6.C20 Derived derived; member in class:Unrelated
22 void oops() { derived.val(); }// { dg-error "" } .*
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/unique_ptr/assign/
H A Dassign_neg.cc24 struct derived : base {}; struct in inherits:base
29 std::unique_ptr<derived> p1(new derived);
30 std::unique_ptr<derived> p2(new derived);
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.oliva/
H A Dthunk1.C24 // a derived-aware vtable is needed for vbase
30 struct derived: virtual mid { struct in inherits:mid
31 derived(int cc) : mid(cc) {} function in struct:derived
35 derived(1);

Completed in 217 milliseconds

12345