blob: cad198210a07880234af2e34598e7405fa3df9e2 [file] [log] [blame]
Chad Rosier1cdbfd32012-03-13 23:48:50 +00001// Check that we error when -faltivec is specified on non-ppc platforms.
Chad Rosier4574c3d2012-03-13 23:45:51 +00002
3// RUN: %clang -arch ppc -faltivec -fsyntax-only %s
4// RUN: %clang -arch ppc64 -faltivec -fsyntax-only %s
5
6// RUN: not %clang -arch i386 -faltivec -fsyntax-only %s
7// RUN: not %clang -arch x86_64 -faltivec -fsyntax-only %s
8// RUN: not %clang -arch armv6 -faltivec -fsyntax-only %s
9// RUN: not %clang -arch armv7 -faltivec -fsyntax-only %s
10// RUN: not %clang -arch mips -faltivec -fsyntax-only %s
11// RUN: not %clang -arch mips64 -faltivec -fsyntax-only %s
12// RUN: not %clang -arch sparc -faltivec -fsyntax-only %s