Author: rafael
Date: Mon Sep 23 18:27:32 2013
New Revision: 191242

URL: http://llvm.org/viewvc/llvm-project?rev=191242&view=rev
Log:
Add tests on how clang currently handles some unknown options.

This is not to say this is the desired behavior, but it makes sure we notice
if it changes.

Modified:
    cfe/trunk/test/Driver/unknown-arg.c

Modified: cfe/trunk/test/Driver/unknown-arg.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/unknown-arg.c?rev=191242&r1=191241&r2=191242&view=diff
==============================================================================
--- cfe/trunk/test/Driver/unknown-arg.c (original)
+++ cfe/trunk/test/Driver/unknown-arg.c Mon Sep 23 18:27:32 2013
@@ -4,3 +4,10 @@
 // CHECK: unknown argument
 // CHECK: unknown argument
 // CHECK: unknown argument
+
+
+// RUN: %clang -S %s -o %t.s -funknown-to-clang-option 
-Wunknown-to-clang-option -munknown-to-clang-optio
+
+// IGNORED: warning: argument unused during compilation: 
'-funknown-to-clang-option'
+// IGNORED: warning: argument unused during compilation: 
'-munknown-to-clang-option'
+// IGNORED: warning: unknown warning option '-Wunknown-to-clang-option'


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to