Chad Rosier | 4574c3d | 2012-03-13 23:45:51 +0000 | [diff] [blame^] | 1 | // Check that we error when -faltivec is specified on a non-ppc platforms. |
| 2 | |
| 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 |