]> granicus.if.org Git - clang/commitdiff
Add a test for -Warc-abi as requested by Fariborz.
authorNico Weber <nicolasweber@gmx.de>
Wed, 24 Oct 2012 02:37:03 +0000 (02:37 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 24 Oct 2012 02:37:03 +0000 (02:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166540 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/warning-options.cpp

index ab0da42e4bfc9e82777d62b4e2561327157ce341..cce88e65c259b979bdc12da1c7a1a52ef8ec6efc 100644 (file)
@@ -8,3 +8,8 @@
 // CHECK: unknown warning option '-Wmonkey'
 // CHECK: unknown warning option '-Wno-monkey'
 // CHECK: unknown warning option '-Wno-unused-command-line-arguments'; did you mean '-Wno-unused-command-line-argument'?
+
+// FIXME: Remove this together with -Warc-abi once an Xcode is released that doesn't pass this flag.
+// RUN: %clang -### -Warc-abi -Wno-arc-abi %s 2>&1 | FileCheck -check-prefix=ARCABI %s
+// ARCABI-NOT: unknown warning option '-Warc-abi'
+// ARCABI-NOT: unknown warning option '-Wno-arc-abi'