xref: /aosp_15_r20/external/clang/test/Frontend/output-failures.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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