view gcc/testsuite/gcc.dg/pr89410-2.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 1830386684a0
children
line wrap: on
line source

/* { dg-options "-fdiagnostics-show-caret" } */

int main(void)
{
  /* This is 0x7fffffffffffffff, which truncates to 0xffffffff.  */
#line 9223372036854775807 /* { dg-warning "line number out of range" } */
#warning msg
  /* { dg-begin-multiline-output "" }
 #line 9223372036854775807
       ^~~~~~~~~~~~~~~~~~~
     { dg-end-multiline-output "" } */
  /* { dg-warning "msg" "" { target *-*-* } -1 } */
}