PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr81703.c
blob190f4a833ddd6ca3ca96992a5592da22354e2269
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-strlen" } */
4 unsigned g (void)
6 char d[8];
7 const char s[] = "0123";
8 __builtin_memcpy (d, s, sizeof s);
9 return __builtin_strlen (d);
12 /* { dg-final { scan-tree-dump-not "__builtin_strlen" "strlen" } } */