]> granicus.if.org Git - clang/commitdiff
cl-options.c just use touch to create that .obj file
authorHans Wennborg <hans@hanshq.net>
Tue, 17 Sep 2013 00:50:43 +0000 (00:50 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 17 Sep 2013 00:50:43 +0000 (00:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190832 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/cl-options.c

index 131b48265c70cd30a8f850557918123b817069d1..e9e3026e56723e67b0ac0694de81ab9a56bb241c 100644 (file)
 // RUN: %clang_cl /Zs /WX /Zc:forScope /Zc:wchar_t /w12345 /wd1234 /RTC1 -- %s
 
 // Ignored options and compile-only options are ignored for link jobs.
-// RUN: %clang -c %s -o %t.obj
+// RUN: touch %t.obj
 // RUN: %clang_cl /nologo -### -- %t.obj 2>&1 | FileCheck -check-prefix=LINKUNUSED %s
 // RUN: %clang_cl /Dfoo -### -- %t.obj 2>&1 | FileCheck -check-prefix=LINKUNUSED %s
 // RUN: %clang_cl /MD -### -- %t.obj 2>&1 | FileCheck -check-prefix=LINKUNUSED %s