]> granicus.if.org Git - clang/commitdiff
Try to get test passing on OS X (see comment at top of file).
authorNico Weber <nicolasweber@gmx.de>
Fri, 22 Apr 2016 00:38:09 +0000 (00:38 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 22 Apr 2016 00:38:09 +0000 (00:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267089 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/cl-pch.cpp

index d8b7a660f00c437e7b2d243c87a17720c1542856..8d701da5b0b2bc78832557f76d3b7517745f4def 100644 (file)
 // CHECK-YCTc: "c"
 
 // Don't crash when a non-source file is passed.
-// RUN: %clang_cl -Werror /Ycpchfile.h /FIpchfile.h /c -### %S/Inputs/file.prof 2>&1 \
+// RUN: %clang_cl -Werror /Ycpchfile.h /FIpchfile.h /c -### -- %S/Inputs/file.prof 2>&1 \
 // RUN:   | FileCheck -check-prefix=CHECK-NoSource %s
 // CHECK-NoSource: file.prof:{{.*}}input unused
 
 // ...but if an explicit file turns the file into a source file, handle it:
-// RUN: %clang_cl /TP -Werror /Ycpchfile.h /FIpchfile.h /c -### %S/Inputs/file.prof 2>&1 \
+// RUN: %clang_cl /TP -Werror /Ycpchfile.h /FIpchfile.h /c -### -- %S/Inputs/file.prof 2>&1 \
 // RUN:   | FileCheck -check-prefix=CHECK-NoSourceTP %s
 // CHECK-NoSourceTP: cc1
 // CHECK-NoSourceTP: -emit-pch