summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/windows-nul.c
blob: 9a7e3576290c690ce1a1fff2d5cb6e087d8ec8a9 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -dM -E nul -o /dev/null

// 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.

OpenPOWER on IntegriCloud