10 lines
298 B
C
10 lines
298 B
C
/* { dg-do compile } */
|
|
/* { dg-options "-pedantic-errors" } */
|
|
#include "pr36901.h"
|
|
void foo(void)
|
|
{
|
|
int s = sc;
|
|
}
|
|
/* { dg-message "file included" "In file included" { target *-*-* } 0 } */
|
|
/* { dg-error "ordered comparison of pointer with integer zero" "pedantic error" { target *-*-* } 0 } */
|