aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/c-c++-common/cpp/warning-zero-location.c
blob: ca2e102bba01b2e15f37be471302d2c351996ec2 (plain)
1
2
3
4
5
6
7
8
/*
   { dg-options "-D _GNU_SOURCE -fdiagnostics-show-caret" }
   { dg-do compile }
 */

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

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