mangle11.C was duplicate of mangle3.C
From-SVN: r51077
This commit is contained in:
parent
ea122333e5
commit
7d7e539c5b
gcc/testsuite
@ -668,7 +668,6 @@ Thu Mar 7 10:05:31 2002 Jeffrey A Law (law@redhat.com)
|
||||
* g++.old-deja/g++.other/inline23.C: New test.
|
||||
* g++.old-deja/g++.eh/ia64-1.C: New test.
|
||||
* g++.old-deja/g++.other/dwarf2-1.C: New test.
|
||||
* g++.old-deja/g++.other/mangle11.C: New test.
|
||||
* g++.old-deja/g++.other/reload1.C: New test.
|
||||
* g++.old-deja/g++.other/static20.C: New test.
|
||||
* g++.old-deja/g++.other/local-alloc1.C: New test.
|
||||
|
@ -1,41 +0,0 @@
|
||||
struct foo {
|
||||
static int bar ()
|
||||
{
|
||||
int i;
|
||||
static int baz = 1;
|
||||
{
|
||||
static int baz = 2;
|
||||
i = baz++;
|
||||
}
|
||||
{
|
||||
struct baz {
|
||||
static int m ()
|
||||
{
|
||||
static int n;
|
||||
return n += 10;
|
||||
}
|
||||
};
|
||||
baz a;
|
||||
i += a.m ();
|
||||
}
|
||||
{
|
||||
static int baz = 3;
|
||||
i += baz;
|
||||
baz += 30;
|
||||
}
|
||||
i += baz;
|
||||
baz += 60;
|
||||
return i;
|
||||
}
|
||||
};
|
||||
|
||||
int main ()
|
||||
{
|
||||
foo x;
|
||||
|
||||
if (x.bar () != 16)
|
||||
return 1;
|
||||
if (x.bar() != 117)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user