Debian Codegraph @

gcc/testsuite/gcc.dg/plugin/crash-test-write-through-null-stderr.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fno-report-bug" } */
3
4 extern void inject_write_through_null (void);
5
6 void test_inject_write_through_null (void)
7 {
8 inject_write_through_null (); /* { dg-ice "Segmentation fault" } */
9 /* { dg-regexp "during GIMPLE pass: crash_test" } */
10 }