2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr36901-4.c
blobf1d261657af73fa9e51c4edc901c80b18b8132d6
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic-errors -Wsystem-headers" } */
3 #include "pr36901-system.h"
4 void foo(void)
6 int s = sc;
8 /* { dg-message "from " "In file included" { target *-*-* } 0 } */
9 /* { dg-error "ordered comparison of pointer with integer zero" "pedantic error" { target *-*-* } 0 } */