crash63.C: Expect a POD warning
* g++.old-deja/g++.brendan/crash63.C: Expect a POD warning * g++.old-deja/g++.brendan/crash64.C: Likewise * g++.old-deja/g++.brendan/overload8.C: Likewise From-SVN: r28476
This commit is contained in:
parent
52fb276947
commit
351b736c54
|
@ -1,3 +1,9 @@
|
|||
1999-08-03 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* g++.old-deja/g++.brendan/crash63.C: Expect a POD warning
|
||||
* g++.old-deja/g++.brendan/crash64.C: Likewise
|
||||
* g++.old-deja/g++.brendan/overload8.C: Likewise
|
||||
|
||||
1999-08-03 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* g++.old-deja/g++.other/struct1.C: New test.
|
||||
|
|
|
@ -12,4 +12,4 @@ class UnitList
|
|||
UnitList (...);
|
||||
};
|
||||
|
||||
UnitList unit_list (String("keV"));
|
||||
UnitList unit_list (String("keV")); // WARNING - cannot pass non-pod
|
||||
|
|
|
@ -16,4 +16,4 @@ struct metatype { int base_list; };
|
|||
|
||||
static _type_desc _type_metatype("metatype", sizeof(metatype),
|
||||
(RF_Ptr)0, 0, 1, 1,
|
||||
_im_pers_mem_spec( ((size_t)&((( metatype *)0)-> base_list )) , 1));
|
||||
_im_pers_mem_spec( ((size_t)&((( metatype *)0)-> base_list )) , 1)); // WARNING - cannot pass non-pod
|
||||
|
|
|
@ -6,4 +6,4 @@ class Complex{public:double re,im;
|
|||
void zxcvbnm(int n,...){n=1;}
|
||||
int main(){complex c; Complex C;
|
||||
zxcvbnm(1,c);
|
||||
zxcvbnm(1,C);}
|
||||
zxcvbnm(1,C);} // WARNING - cannot pass non pod
|
||||
|
|
Loading…
Reference in New Issue