Fix test for LP64, move it to gcc.c-torture/compile (per Kaveh Ghazi)
From-SVN: r60111
This commit is contained in:
parent
a58be199f1
commit
69db9b9903
@ -1,8 +1,9 @@
|
|||||||
/* dg-do compile */
|
/* dg-do compile */
|
||||||
/* dg-options "-O3" */
|
/* dg-options "-O3" */
|
||||||
typedef struct x x;
|
typedef struct x x;
|
||||||
|
extern void *baz(char *);
|
||||||
struct x { char * (*bar) (int); };
|
struct x { char * (*bar) (int); };
|
||||||
static x **foo() { return ((x**)baz()); }
|
static x **foo() { return ((x**)baz(0)); }
|
||||||
int xyzzy()
|
int xyzzy()
|
||||||
{
|
{
|
||||||
baz((*foo())->bar(0));
|
baz((*foo())->bar(0));
|
Loading…
Reference in New Issue
Block a user