xref: /minix3/external/bsd/llvm/dist/clang/test/Frontend/windows-nul.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 nul
2*0a6a1f1dSLionel Sambuc 
3*0a6a1f1dSLionel Sambuc // REQUIRES: system-windows
4*0a6a1f1dSLionel Sambuc 
5*0a6a1f1dSLionel Sambuc // Verify that cc1 doesn't crash with an assertion failure
6*0a6a1f1dSLionel Sambuc // in MemoryBuffer.cpp due to an invalid file size reported
7*0a6a1f1dSLionel Sambuc // when the Windows 'nul' device is passed in input.
8*0a6a1f1dSLionel Sambuc 
9