Commit 9fed97f1 by Geoff Keating Committed by Geoffrey Keating

20000722-1.x: New, testcase fails.

* gcc.c-torture/execute/20000722-1.x: New, testcase fails.
* gcc.c-torture/execute/20000722-1.c: New.
* gcc.c-torture/execute/20000516-1.c: Delete, replaced by 20000722-1.

From-SVN: r35234
parent 87e27392
2000-07-24 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/20000722-1.x: New, testcase fails.
* gcc.c-torture/execute/20000722-1.c: New.
* gcc.c-torture/execute/20000516-1.c: Delete, replaced by 20000722-1.
2000-07-24 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cpp/20000720-1.S: New test.
......
struct test_type
{
int value;
char *string;
};
void
callout (struct test_type *test_data)
{
test_data->string = "ho there";
}
int main ()
{
callout (&(struct test_type) { 3, "hey there" });
exit (0);
}
struct s { char *p; int t; };
extern void bar (void);
extern void foo (struct s *);
int main(void)
{
bar ();
bar ();
exit (0);
}
void
bar (void)
{
foo (& (struct s) { "hi", 1 });
}
void foo (struct s *p)
{
if (p->t != 1)
abort();
p->t = 2;
}
# Doesn't work. Hasn't worked ever, I think.
set torture_execute_xfail "*-*-*"
return 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment