friend19.C: Fix typo.

* g++.dg/template/friend19.C: Fix typo.
	* g++.old-deja/g++.other/crash31.C: Adjust expected error.

From-SVN: r71879
This commit is contained in:
Kriang Lerdsuwanakij 2003-09-28 11:42:16 +00:00 committed by Kriang Lerdsuwanakij
parent 51c16b7e8a
commit 753aaa17f3
3 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2003-09-28 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/template/friend19.C: Fix typo.
* g++.old-deja/g++.other/crash31.C: Adjust expected error.
2003-09-28 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20030928-1.c: New test.

View File

@ -2,7 +2,7 @@
// Origin: Benjamin Li <benxbli@yahoo.com>
// PR c++/11030: Template substition of friend class that is
// PR c++/11030: Template substitution of friend class that is
// a specialization.
template <int S>

View File

@ -1,12 +1,9 @@
// { dg-do assemble }
// Origin: Jakub Jelinek <jakub@redhat.com>
// { dg-bogus "" "" { xfail *-*-* } 13 }
namespace bar
{
struct foo
{
foo();
};
// { dg-error "" "" { xfail *-*-* } }
}; // { dg-error "expected" }