xref: /minix3/external/bsd/llvm/dist/clang/test/SemaCXX/cxx-altivec.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple=powerpc-apple-darwin8 -faltivec -fsyntax-only -verify %s
2*0a6a1f1dSLionel Sambuc 
3*0a6a1f1dSLionel Sambuc struct Vector {
4*0a6a1f1dSLionel Sambuc 	__vector float xyzw;
5*0a6a1f1dSLionel Sambuc } __attribute__((vecreturn)) __attribute__((vecreturn));  // expected-error {{'vecreturn' attribute cannot be repeated}}
6