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 D | crash34.C | 3 operator int () {}// ERROR - .*// ERROR - .*
|
H A D | prepost2.C | 5 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 D | err-msg8.C | 3 operator int ; int j; // ERROR - declaration of `operator int' as non-function.*
|
H A D | overload5.C | 6 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 D | init13.C | 4 operator int ();
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900519_01.C | 8 // keywords: user-defined type conversion operator, non-member 10 extern operator int (); // ERROR - 12 extern operator int () { // ERROR -
|
H A D | 900210_10.C | 3 // 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 D | overload8.C | 5 operator int () { return 1; }; 6 operator int &() { return 1; }; // ERROR -
|
H A D | operator.C | 1 // 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 D | scoping5.C | 1 // 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 D | op1.C | 5 bool operator! (int, ...); // ERROR -
|
H A D | crash36.C | 5 // 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 D | parse2.C | 10 bool operator (const X &) const; // ERROR - parse error
|
H A D | crash23.C | 5 inline void operator<(T&, T&) { } // ERROR - previous definition 6 inline void operator<(T&, T&) { } // ERROR - duplicate definition
|
H A D | lookup19.C | 1 // 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 D | overload13.C | 5 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 D | p10247.C | 5 int operator++(int) { return operator()++ ; } // ERROR -
|
H A D | hog1.C | 1 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 D | p6578.C | 5 operator int ();
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/warn/ |
H A D | conversion-function-1.C | 6 operator A&();
|
H A D | effc1.C | 12 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 D | t133.C | 3 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 D | builtin1.C | 6 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 D | conv4.C | 10 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 D | operators17.C | 11 A& operator = (const A& a) {}// WARNING -
|
Completed in 301 milliseconds
1234567891011>>