Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/altivec-17.c

raw
1 /* Verify a statement in the GCC Manual that GCC allows the use of a
2 typedef name as a vector type specifier. */
3
4 /* { dg-do compile { target powerpc*-*-* } } */
5 /* { dg-options "-maltivec -mabi=altivec" } */
6 /* { dg-require-effective-target powerpc_altivec } */
7
8 typedef unsigned int ui;
9 typedef signed char sc;
10 __vector ui vui;
11 __vector sc vsc;