Searched refs:operator (Results 1 - 25 of 2465) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcrash34.C3 operator int () {}// ERROR - .*// ERROR - .*
H A Dprepost2.C5 operator ++ (); // ERROR - no type or storage class
6 operator ++ (int); // ERROR - no type or storage class
7 operator ++ (char); // illegal// ERROR - .*
8 operator ++ (short); // illegal// ERROR - .*
9 operator ++ (long); // illegal// ERROR - .*
H A Derr-msg8.C3 operator int ; int j; // ERROR - declaration of `operator int' as non-function.*
H A Doverload5.C6 int operator << (const signed char&);
7 int operator << (const unsigned char&);
8 int operator << (const short&);
9 int operator << (const unsigned short&);
10 int operator << (const long&);
11 int operator << (const unsigned long&);
H A Dinit13.C4 operator int ();
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/
H A D900519_01.C8 // keywords: user-defined type conversion operator, non-member
10 extern operator int (); // ERROR -
12 extern operator int () { // ERROR -
H A D900210_10.C3 // g++ allows operator[] to be declared as a static member function.
8 // keywords: operator[], static function members
11 static int operator[] (); /* ERROR - */
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Doverload8.C5 operator int () { return 1; };
6 operator int &() { return 1; }; // ERROR -
H A Doperator.C1 // General test for operator overloading permissiveness.
8 int operator?:(int a, int b); // WARNING - member in struct:A
9 static int operator()(int a); // ERROR - must be nonstatic
10 static int operator+(A,A); // ERROR - must be nonstatic
11 int operator+(int a, int b = 1); // ERROR - two errors on this line
12 int operator++(char); // ERROR - must take 'int'
13 void operator delete (void *);
14 void operator delete (void *, unsigned long);
18 void * operator new (size_t, void *);
19 int operator
[all...]
H A Dscoping5.C1 // Bug: g++ thinks that A defines operator delete, and tries to call it.
5 ~A () { ::operator delete (0); }
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Dop1.C5 bool operator! (int, ...); // ERROR -
H A Dcrash36.C5 // Bug 573. We ICE'd verifying operator new and operator delete conformed
8 void *operator new (__SIZE_TYPE__); // ok
9 void operator new (__SIZE_TYPE__); // ERROR - must return void *
10 void *operator new (); // ERROR - must take size_t
11 void *operator new (char); // ERROR - must take size_t
12 void *operator new (__SIZE_TYPE__, ...) throw(); // ok
14 void operator delete (void *) throw (); // ok
15 int operator delete (void *) throw (); // ERROR - must return void
16 void operator delet
[all...]
H A Dparse2.C10 bool operator (const X &) const; // ERROR - parse error
H A Dcrash23.C5 inline void operator<(T&, T&) { } // ERROR - previous definition
6 inline void operator<(T&, T&) { } // ERROR - duplicate definition
H A Dlookup19.C1 // Test for proper handling of type lookup for conversion operator names.
9 operator B *();
12 A::operator B * ()
21 operator D *();
25 C::operator D * ()
34 operator F *();
38 E::operator F * ()
47 operator H *();
51 G::operator H * () // ERROR - mismatch
H A Doverload13.C5 bool operator== (A const &);
6 operator bool () const;
7 operator int * () const;
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp10247.C5 int operator++(int) { return operator()++ ; } // ERROR -
H A Dhog1.C1 class dummy { public: void operator++(void) {}
3 class dummy_000 : private virtual dummy { public: void operator++(void) {
4 dummy::operator++(); } };
5 class dummy_001 : private virtual dummy { public: void operator++(void) {
6 dummy::operator++(); } };
7 class dummy_002 : private virtual dummy { public: void operator++(void) {
8 dummy::operator++(); } };
9 class dummy_003 : private virtual dummy { public: void operator++(void) {
10 dummy::operator++(); } };
11 class dummy_004 : private virtual dummy { public: void operator
[all...]
H A Dp6578.C5 operator int ();
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/warn/
H A Dconversion-function-1.C6 operator A&();
H A Deffc1.C12 A & operator+=( int );
13 A & operator+( int ); // { dg-warning ".* should return by value" "" }
14 A operator+=( float );
15 A operator+( float );
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.niklas/
H A Dt133.C3 struct A { struct B { void operator = (const B&); }; };
4 void A::B::operator = (const B&) {}
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/overload/
H A Dbuiltin1.C6 operator int ();
7 operator B ();
10 void operator+ (B, B); // { dg-error "" "candidate" }
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/template/
H A Dconv4.C10 template <typename T2> operator T2 ()
16 return operator int ();
24 return operator int (); // { dg-error "not defined" "" }
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Doperators17.C11 A& operator = (const A& a) {}// WARNING -

Completed in 301 milliseconds

1234567891011>>