* gcc.c-torture/execute/20000412-5.c: New test.

From-SVN: r33121
This commit is contained in:
Jeffrey A Law 2000-04-12 18:56:18 +00:00 committed by Jeff Law
parent 9c749c66d2
commit 504f140d09
2 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Wed Apr 12 10:25:08 2000 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000412-5.c: New test.
* g77.f-torture/compile/20000412-1.f: New test.
* gcc.c-torture/execute/20000412-4.c: New test.
* gcc.c-torture/compile/20000412-2.c: New test.

View File

@ -0,0 +1,11 @@
int main( void ) {
struct {
int node;
int type;
} lastglob[1] = { { 0 , 1 } };
if (lastglob[0].node != 0 || lastglob[0].type != 1)
abort ();
exit (0);
}