diff options
Diffstat (limited to 'clang/test/Driver/apple-kext-i386.cpp')
-rw-r--r-- | clang/test/Driver/apple-kext-i386.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Driver/apple-kext-i386.cpp b/clang/test/Driver/apple-kext-i386.cpp new file mode 100644 index 00000000000..dc4e6a641f0 --- /dev/null +++ b/clang/test/Driver/apple-kext-i386.cpp @@ -0,0 +1,9 @@ +// Check that we transparently fallback to llvm-gcc for i386 kexts, we don't +// support the ABI they use (yet). + +// RUN: %clang -ccc-host-triple i386-apple-darwin10 \ +// RUN: -fapple-kext -### -fsyntax-only %s 2> %t +// RUN: FileCheck --check-prefix=CHECK < %t %s + +// CHECK: cc1plus" +// CHECK: "-fapple-kext" |