1/* { dg-do run } */ 2/* { dg-options "-fsanitize=undefined" } */ 3 4long long int __attribute__ ((noinline, noclone)) 5foo (long long int i, long long int j) 6{ 7 asm (""); 8 return i + j; 9} 10 11int 12main (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'\[^\n\r]*" } */ 19