* gcc.c-torture/compile/labels-2.c: New test.
From-SVN: r31128
This commit is contained in:
parent
3073d01c3d
commit
7fb1283fc7
|
@ -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.
|
||||
|
|
|
@ -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:;
|
||||
}
|
Loading…
Reference in New Issue