llvm-project/clang/test/Parser/vector-cast-define.cl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
209 B
Common Lisp
Raw Normal View History

// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
// expected-no-diagnostics
typedef int int3 __attribute__((ext_vector_type(3)));
void test()
{
int index = (int3)(1, 2, 3).x * (int3)(3, 2, 1).y;
}