mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 19:45:40 -04:00

Different Unix "errno" values are returned for the following scenarios: $ echo test > /tmp/existingFile/impossibleDir/impossibleFile "Not a directory" $ echo test > /tmp/nonexistentDir/impossibleFile "No such file or directory" This fixes the regression introduced by r352971 / D57592. llvm-svn: 352996
5 lines
252 B
C
5 lines
252 B
C
// RUN: not %clang_cc1 -emit-llvm -o %t.doesnotexist/somename %s 2> %t
|
|
// RUN: FileCheck -check-prefix=OUTPUTFAIL -input-file=%t %s
|
|
|
|
// OUTPUTFAIL: error: unable to open output file '{{.*}}doesnotexist{{.}}somename': '{{[nN]}}o such file or directory'
|