summaryrefslogtreecommitdiff
path: root/test/Frontend/windows-nul.c
blob: 9f1fc04151d60c49199e50bcc392c503e8d19ddd (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 nul

// REQUIRES: system-windows

// Verify that cc1 doesn't crash with an assertion failure
// in MemoryBuffer.cpp due to an invalid file size reported
// when the Windows 'nul' device is passed in input.