xref: /minix3/external/bsd/llvm/dist/clang/test/Frontend/output-failures.c (revision bdb565187c0f1a04513dd488df843317b27f86c8)
1 // RUN: not %clang_cc1 -emit-llvm -o %S/doesnotexist/somename %s 2> %t
2 // RUN: FileCheck -check-prefix=OUTPUTFAIL -input-file=%t %s
3 
4 // OUTPUTFAIL: error: unable to open output file '{{.*}}{{[/\\]}}test{{[/\\]}}Frontend{{[/\\]}}doesnotexist{{[/\\]}}somename': '{{[nN]}}o such file or directory'
5