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 changed files with 2 additions and 1 deletions
|
@ -1,8 +1,9 @@
|
|||
/* dg-do compile */
|
||||
/* dg-options "-O3" */
|
||||
typedef struct x x;
|
||||
extern void *baz(char *);
|
||||
struct x { char * (*bar) (int); };
|
||||
static x **foo() { return ((x**)baz()); }
|
||||
static x **foo() { return ((x**)baz(0)); }
|
||||
int xyzzy()
|
||||
{
|
||||
baz((*foo())->bar(0));
|
Loading…
Add table
Reference in a new issue