aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/altivec-18.C
blob: 5b83028e7370c8929d2d7d36d26c9f07722f44b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR target/82112
// { dg-do compile { target powerpc*-*-* } }
// { dg-require-effective-target powerpc_altivec_ok }
// { dg-options "-maltivec" }

#include <altivec.h>

__attribute__((aligned (16))) extern const unsigned char c[16];

void
foo (void)
{
  vec_ld (0, c);
}