- Driver's name may be "clang(-\d.\d).exe".
- Emitted executable file is named as "%t.exe". It must be harmless on other OS.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127729
91177308-0d34-0410-b5e6-
96231b3b80d8
-// RUN: %clang -ccc-echo -o %t %s 2> %t.log
+// RUN: %clang -ccc-echo -o %t.exe %s 2> %t.log
// Make sure we used clang.
-// RUN: grep 'clang\(-[0-9.]\+\)\?" -cc1 .*hello.c' %t.log
+// RUN: grep 'clang\(-[0-9.]\+\)\?\(\.[Ee][Xx][Ee]\)\?" -cc1 .*hello.c' %t.log
-// RUN: %t > %t.out
+// RUN: %t.exe > %t.out
// RUN: grep "I'm a little driver, short and stout." %t.out
// FIXME: We don't have a usable assembler on Windows, so we can't build real