diff options
Diffstat (limited to 'test/Driver/target-as.s')
-rw-r--r-- | test/Driver/target-as.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Driver/target-as.s b/test/Driver/target-as.s new file mode 100644 index 0000000..adb3d10 --- /dev/null +++ b/test/Driver/target-as.s @@ -0,0 +1,8 @@ +// REQUIRES: clang-driver + +// Make sure the -march is passed down to cc1as. +// RUN: %clang -target i386-unknown-freebsd -### -c -integrated-as %s \ +// RUN: -march=geode 2>&1 | FileCheck -check-prefix=TARGET %s +// +// TARGET: "-cc1as" +// TARGET: "-target-cpu" "geode" |