summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/altivec-11.C
blob: ff3016953d87f018a5f485b3f46fa85fdd79ce86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Test handling of literal constant for dss operation.  */
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-maltivec" } */

#include <altivec.h>

void
foo ()
{
  vec_dss (1);
}