llvm-project/clang/test/SemaCXX/cxx-altivec.cpp

6 lines
244 B
C++

// RUN: %clang_cc1 -triple=powerpc-apple-darwin8 -faltivec -fsyntax-only -verify %s
struct Vector {
__vector float xyzw;
} __attribute__((vecreturn)) __attribute__((vecreturn)); // expected-error {{'vecreturn' attribute cannot be repeated}}