warning-zero-location.c 210 Bytes
Newer Older
1 2 3 4 5
/*
   { dg-options "-D _GNU_SOURCE -fdiagnostics-show-caret" }
   { dg-do compile }
 */

6
#define _GNU_SOURCE 	/* { dg-warning "-:redefined" } */
7

8
/* { dg-message "" "#define _GNU_SOURCE" {target *-*-* } 0 } */