1## Test failing to write output file on windows platform.
2
3# REQUIRES: system-windows
4# RUN: touch %t.TestFile
5# RUN: chmod 400 %t.TestFile
6# RUN: not llvm-ifs --output-format=ELF --output=%t.TestFile %s 2>&1 | FileCheck -DMSG=%errc_EACCES %s --check-prefix=ERR
7# RUN: chmod 777 %t.TestFile
8# RUN: rm -rf %t.TestFile
9
10--- !ifs-v1
11IfsVersion: 3.0
12Target: { ObjectFormat: ELF, Arch: AArch64, Endianness: little, BitWidth: 64 }
13Symbols: []
14...
15
16# ERR: error: [[MSG]]
17