20000516-1.c: New test.

2000-05-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/execute/20000516-1.c: New test.

From-SVN: r33947
This commit is contained in:
Franz Sirl 2000-05-16 23:07:20 +00:00 committed by Franz Sirl
parent df3aefb0bf
commit 13fa202991
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20000516-1.c: New test.
2000-05-15 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/eh.C: New test.

View File

@ -0,0 +1,18 @@
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);
}