diff options
author | Nathan Sidwell <nathan@acm.org> | 1999-08-03 15:05:25 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 1999-08-03 15:05:25 +0000 |
commit | 351b736c5438361650b73a5dbe79a5aa43e943b4 (patch) | |
tree | bb5ec46b77b632f0f660fe09df22d962007d2372 /gcc | |
parent | 52fb276947febba5f17dbb30ad2ce2a818f714f6 (diff) | |
download | gcc-351b736c5438361650b73a5dbe79a5aa43e943b4.zip gcc-351b736c5438361650b73a5dbe79a5aa43e943b4.tar.gz gcc-351b736c5438361650b73a5dbe79a5aa43e943b4.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/crash63.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/crash64.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/overload8.C | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 429cb89..ba0cc11 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,11 @@ 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. 1999-08-03 Nathan Sidwell <nathan@acm.org> diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash63.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash63.C index 84f8fc5..25952ae 100644 --- a/gcc/testsuite/g++.old-deja/g++.brendan/crash63.C +++ b/gcc/testsuite/g++.old-deja/g++.brendan/crash63.C @@ -12,4 +12,4 @@ class UnitList UnitList (...); }; -UnitList unit_list (String("keV")); +UnitList unit_list (String("keV")); // WARNING - cannot pass non-pod diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash64.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash64.C index 3102418..ccba22e 100644 --- a/gcc/testsuite/g++.old-deja/g++.brendan/crash64.C +++ b/gcc/testsuite/g++.old-deja/g++.brendan/crash64.C @@ -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 diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/overload8.C b/gcc/testsuite/g++.old-deja/g++.brendan/overload8.C index 71d1689..e097486 100644 --- a/gcc/testsuite/g++.old-deja/g++.brendan/overload8.C +++ b/gcc/testsuite/g++.old-deja/g++.brendan/overload8.C @@ -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 |