Edit

kc3-lang/libffi/testsuite/libffi.complex/cls_complex_va_float.c

Branch :

  • Show log

    Commit

  • Author : Richard Henderson
    Date : 2014-11-14 11:00:14
    Hash : c952a92e
    Message : testsuite: Move complex tests to their own subdirectory It seems a bit silly to isolate them by globbing vs "*complex*" when we can just as easily put them in their own subdirectory.

  • testsuite/libffi.complex/cls_complex_va_float.c
  • /* Area:	ffi_call, closure_call
       Purpose:	Test complex' passed in variable argument lists.
       Limitations:	none.
       PR:		none.
       Originator:	<vogt@linux.vnet.ibm.com>.  */
    
    /* { dg-do run } */
    
    /* Alpha splits _Complex into two arguments.  It's illegal to pass
       float through varargs, so _Complex float goes badly.  In sort of
       gets passed as _Complex double, but the compiler doesn't agree
       with itself on this issue.  */
    /* { dg-do run { xfail alpha*-*-* } } */
    
    #include "complex_defs_float.inc"
    #include "cls_complex_va.inc"