Test for PR 15289.

From-SVN: r91572
This commit is contained in:
Richard Henderson 2004-12-01 10:15:58 -08:00
parent 1466e38701
commit b923517634
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
/* PR rtl-opt/15289 */
typedef struct { _Complex char a; _Complex char b; } Scc2;
Scc2 s = { 1+2i, 3+4i };
int checkScc2 (Scc2 s)
{
return s.a != 1+2i || s.b != 3+4i;
}
int main (void)
{
return checkScc2 (s);
}