windows-nul.c 226 B

12345678
  1. // RUN: %clang_cc1 nul
  2. // REQUIRES: system-windows
  3. // Verify that cc1 doesn't crash with an assertion failure
  4. // in MemoryBuffer.cpp due to an invalid file size reported
  5. // when the Windows 'nul' device is passed in input.