1  /* { dg-do run } */
       2  /* { dg-options "-fsanitize=undefined" } */
       3  
       4  long long int __attribute__ ((noinline, noclone))
       5  foo (long long int i, long long int j)
       6  {
       7    asm ("");
       8    return i + j;
       9  }
      10  
      11  int
      12  main (void)
      13  {
      14    foo (2LL, __LONG_LONG_MAX__);
      15    return 0;
      16  }
      17  
      18  /* { dg-output "signed integer overflow: 2 \\+ 9223372036854775807 cannot be represented in type 'long long int'" } */