Add a clang test for r257376 (Ensure -mcpu=xscale works for arm targets).

llvm-svn: 257509
This commit is contained in:
Dimitry Andric 2016-01-12 19:40:55 +00:00
parent f62d44be28
commit e18d46205c
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
// RUN: %clang -target arm-freebsd -mcpu=xscale -### -c %s 2>&1 | FileCheck %s
// CHECK-NOT: error: the clang compiler does not support '-mcpu=xscale'
// CHECK: "-cc1"{{.*}} "-target-cpu" "xscale"{{.*}}