* g++.old-deja/g++.ns/extern1.C: fix XFAIL mark

From-SVN: r22968
This commit is contained in:
Alexandre Oliva 1998-10-09 21:25:57 +00:00 committed by Alexandre Oliva
parent a0a190d4d9
commit 4acf6064f2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1998-10-10 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.ns/extern1.C: fix XFAIL mark
Fri Oct 9 19:19:19 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/special/920521-1.c: Fix bogus test.

View File

@ -5,9 +5,11 @@
// An extern declaration of an undeclared object within a function
// introduces the object into the enclosing namespace [basic.link]/7
// excess errors test - XFAIL *-*-*
namespace {
void foo() {
extern int xx; // causes linker error - XFAIL *-*-*
extern int xx;
xx = 0;
}
int xx = 1;