altivec-4241538.c   [plain text]


/* APPLE LOCAL file 4241538 */
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-options "-faltivec" } */
/* Contributed by Devang Patel  <dpatel@apple.com>  */

int main( int argc, char **argv )
{
    float array[ 4 ];
    vector float some_vector = vec_ld( array ); /* { dg-error "invalid argument|incompatible types in initialization" } */

    return 0;
}