Searched refs:Base (Results 1 - 25 of 223) sorted by relevance

123456789

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/lto/
H A D20091210-1_0.C3 void Base::f() {}
H A D20101015-2_0.C5 struct Base { ~Base (); }; struct
6 void fun(void) { struct Deriv : Base { } x; }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Dref2.C1 struct Base { struct
2 Base();
3 Base(const Base &);
4 Base & operator = (const Base &);
7 struct Derived : public Base {};
10 const Base &b = derived();
H A Dref4.C5 struct Base { struct
6 Base() {} function in struct:Base
7 Base(const Base &) { ++c; } function in struct:Base
8 Base & operator = (const Base &);
11 struct Derived : public Base {};
13 const Base &b = Derived();
H A Dref3.C1 struct Base { }; struct
2 struct Derived : public Base { };
4 operator Base&();
11 Base& ref = c;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/lookup/
H A Dscoped2.C8 struct Base struct
12 struct Derived : Base
16 Base::Baz (); // { dg-error "is not a member" "" }
H A Dusing40.C3 struct Base struct
12 struct A : Base
14 using Base::f; // { dg-message "previous declaration" }
15 using Base::f; // { dg-error "redeclaration" }
17 using Base::type; // { dg-message "previous declaration" }
18 using Base::type; // { dg-error "redeclaration" }
20 using Base::Type; // { dg-message "previous declaration" }
21 using Base::Type; // { dg-error "redeclaration" }
23 using Base::i; // { dg-message "previous declaration" }
24 using Base
[all...]
H A Dmember1.C3 struct Base struct
8 class Derived : public Base
H A Dusing50.C6 struct Base struct
11 struct Der : Base
13 using Base::a;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/other/
H A Ddump-ada-spec-3.C6 class Base { class
11 Base ();
14 void Base::Primitive () {
17 Base::Base () { function in class:Base
20 void Dispatch (Base * B) {
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/inherit/
H A Derror5.C3 struct Base{ }; struct
5 struct Concrete : Base
13 d.Base::setValue(); // { dg-error "struct Base" }
H A Dusing2.C9 struct Base { struct
15 struct Derived : Base {
16 using Base::Return;
24 return static_cast <Base *> (&d) != d.Return ();
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tc1/
H A Ddr85.C5 struct Base { struct
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/
H A DWoverloaded-1.C3 class Base { class
5 virtual ~Base() {
9 class Derived: public Base {
11 int Base() { // There should be no error here. function in class:Derived
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/compat/eh/
H A Dspec3.h1 class Base {}; class
3 struct A : virtual public Base
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Deh32.C4 class Base { class
6 virtual ~Base() throw();
9 Base::~Base() throw()
13 class Foo : public Base {
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Dinjected1.C3 template <class T> struct Base { }; // { dg-message "" } candidate struct
5 struct D1: Base<void>
7 D1::Base* p1;
8 D1::Base<double>* p2;
9 Base *p3;
10 Base<double>* p4;
13 struct D2: Base<void>, Base<void*>
15 D2::Base* p1; // { dg-error "" }
16 D2::Base<doubl
[all...]
H A Dinit-list.C5 struct Base { struct
6 Base(int) { } function in struct:Base
10 struct Derived : Base<T> {
15 Derived<T>::Derived() : Base(4) { } // { dg-error "have any field" "" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dnoexcept10.C6 struct Base struct
8 Base(const Base&) noexcept(false);
9 Base(Base&&) noexcept(false);
10 ~Base() noexcept(false);
14 : Base
20 static_assert(!noexcept(Base(std::declval<const Base&>())), "Error");
23 static_assert(!noexcept(Base(st
[all...]
H A Ddefaulted38.C4 class Base class
7 virtual ~Base() = default;
10 class Derived : public Base
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Darm7.C13 class Base { class
16 Base(int ii) : i(ii) {} function in class:Base
19 class Derived : public Base {
21 Derived(int ii) : Base(ii) {}
22 operator Base&();
25 Derived::operator Base&() {
26 Base *b = new Base(100*i);
30 int f(Base &b) {
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Dbadopt1.C7 struct Base { Base() {} }; // removing the constructor fixes the problem function in struct:Base
8 struct Derived : Base {}; // so does removing the base class
12 Derived* array[1]; // making this Base*[1] does not fix the problem
13 array[count++] = new Derived (); // but then new Base() does
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/debug/dwarf2/
H A Ddwarf2-1.C11 struct Base struct in namespace:N
16 struct Derived : Base
18 using Base::m;
/haiku-buildtools/gcc/libvtv/testsuite/libvtv.cc/
H A Dderived-lib.cpp3 struct Derived_Private : public Base
9 Base * GetPrivate()
14 void Destroy(Base * pb)
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/conversion/
H A Dambig2.C3 struct Base { }; struct
4 struct Derived : Base
6 struct Derived2 : Base
14 Base &br1 = both; // { dg-error "ambiguous" }

Completed in 226 milliseconds

123456789