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