diff options
Diffstat (limited to 'clang/test/Driver/apple-kext-i386.cpp')
-rw-r--r-- | clang/test/Driver/apple-kext-i386.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Driver/apple-kext-i386.cpp b/clang/test/Driver/apple-kext-i386.cpp index 8f4d4980a49..5273c1dadb4 100644 --- a/clang/test/Driver/apple-kext-i386.cpp +++ b/clang/test/Driver/apple-kext-i386.cpp @@ -14,3 +14,11 @@ // CHECK-MKERNEL: cc1plus" // CHECK-MKERNEL: "-mkernel" + +// RUN: %clang -ccc-host-triple i386-apple-darwin10 \ +// RUN: -Wno-self-assign \ +// RUN: -fapple-kext -### -fsyntax-only %s 2> %t +// RUN: FileCheck --check-prefix=CHECK-UNSUPPORTED < %t %s + +// CHECK-UNSUPPORTED: cc1plus" +// CHECK-UNSUPPORTED-NOT: "-Wno-self-assign" |