mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 22:34:03 +08:00
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:
parent
df3aefb0bf
commit
13fa202991
@ -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.
|
||||
|
18
gcc/testsuite/gcc.c-torture/execute/20000516-1.c
Normal file
18
gcc/testsuite/gcc.c-torture/execute/20000516-1.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user