teak-llvm/clang/test/Driver/output-file-is-dir.c
Rafael Espindola 4f16ebfb30 Simplify test so that it is more portable.
I have checked that the test still fails when the "|| !P.isRegularFile()" from
the original patch is removed.

llvm-svn: 179464
2013-04-13 22:26:02 +00:00

7 lines
141 B
C

// RUN: rm -rf %t.dir
// RUN: mkdir -p %t.dir
// RUN: not %clang %s -c -emit-llvm -o %t.dir
// RUN: test -d %t.dir
int main() { return 0; }