forked from OSchip/llvm-project
14 lines
246 B
C
14 lines
246 B
C
|
// RUN: %clang_cc1 -isystem %S -Wdouble-promotion -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s
|
||
|
// CHECK-NOT: warning:
|
||
|
|
||
|
#include <no-warn-in-system-macro.c.inc>
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
double foo = 1.0;
|
||
|
|
||
|
if (isnan(foo))
|
||
|
return 1;
|
||
|
return 0;
|
||
|
}
|