* gcc.c-torture/compile/labels-2.c: New test.

From-SVN: r31128
This commit is contained in:
Greg McGary 1999-12-30 03:55:32 +00:00 committed by Jeff Law
parent 3073d01c3d
commit 7fb1283fc7
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Dec 29 20:54:46 1999 Greg McGary <gkm@eng.ascend.com>
* gcc.c-torture/compile/labels-2.c: New test.
1999-12-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* g++.old-deja/g++.pt/instantiate6.C: Remove excess errors XFAIL.

View File

@ -0,0 +1,10 @@
struct bp { void *v, *b, *e; };
f ()
{
struct bp x = { &&L2 };
if (&&L3 - &&L1 > 1)
abort ();
L1:return 1;
L2:abort ();
L3:;
}