summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr55604.C
blob: f6fa3c0f42ca584b76dbbfdcf4e9e695cd95b0e2 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O -fdump-rtl-reload" } */

main ()
{
  char s[10];
  const int t = (__builtin_memcpy (s, "Hello", 6), 5);
  __builtin_printf ("%d %s\n", t, s);
}