From: Nico Weber Date: Wed, 24 Oct 2012 02:37:03 +0000 (+0000) Subject: Add a test for -Warc-abi as requested by Fariborz. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c89fd3af0ee909eb924653058e8598e8b47bc279;p=clang Add a test for -Warc-abi as requested by Fariborz. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166540 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/warning-options.cpp b/test/Driver/warning-options.cpp index ab0da42e4b..cce88e65c2 100644 --- a/test/Driver/warning-options.cpp +++ b/test/Driver/warning-options.cpp @@ -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'