clang/test/Driver/sigpipe-handling.c
raw| 1 | // UNSUPPORTED: system-windows |
| 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 |