blob: de7cb4349b7d0d04c28875bc302fab14f4d5e7db [file] [log] [blame]
/* { dg-do run } */
/* { dg-options "(-mips16)" } */
extern void abort (void);
__complex float f = { -1.0 + -1.0i };
__complex float __attribute__((nomips16)) foo (void) { return f; }
__complex float (*volatile foop) (void) = foo;
__complex float __attribute__((mips16, noinline)) bar (void) { return foop (); }
int
main (void)
{
if (bar () != f)
abort ();
return 0;
}