xref: /llvm-project/clang/test/Driver/sigpipe-handling.c (revision 5c29ffda9056e1b4602a46051371f0184ce357b2)
1 // REQUIRES: shell
2 // RUN: %clang -E -fno-integrated-cc1 %s | head | FileCheck %s
3 
4 // Test that the parent clang driver process doesn't crash when the child cc1
5 // process receives a SIGPIPE (Unix-only).
6 //
7 // The child should exit with IO_ERR, and the parent should exit cleanly.
8 
9 // CHECK: sigpipe-handling.c
10