gcc/testsuite/gcc.dg/tree-ssa/dump-4.c
raw| 1 | /* PR middle-end/87052 - STRING_CST printing incomplete in Gimple dumps |
| 2 | { dg-do compile } |
| 3 | { dg-options "-fdump-tree-original" } */ |
| 4 | |
| 5 | void* f (char *d, int c) |
| 6 | { |
| 7 | return __builtin_memchr ("1\0\0", c, 4); |
| 8 | } |
| 9 | |
| 10 | /* Veriy the full string appears in the dump: |
| 11 | { dg-final { scan-tree-dump "\"1\\\\x00\\\\x00\"" "original" } } */ |