1 /* PR target/96530 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target power10_ok } */
4 /* { dg-options "-mdejagnu-cpu=power10 -O2" } */
5
6 /* Verify we do not reject bar() below due to the typedef. */
7
8 typedef __vector_quad vquad_t;
9
10 void
11 foo (__vector_quad *dst)
12 {
13 __builtin_mma_xxsetaccz (dst);
14 }
15
16 void
17 bar (vquad_t *dst)
18 {
19 __builtin_mma_xxsetaccz (dst);
20 }