mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-07 09:32:41 +08:00
Test for PR 15289.
From-SVN: r91572
This commit is contained in:
parent
1466e38701
commit
b923517634
15
gcc/testsuite/gcc.c-torture/execute/20041201-1.c
Normal file
15
gcc/testsuite/gcc.c-torture/execute/20041201-1.c
Normal 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);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user