xref: /illumos-gate/usr/src/tools/smatch/src/validation/expand/builtin_nan.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 static float nanf(void)
2 {
3 	return __builtin_nanf("0");
4 }
5 
6 static double nan(void)
7 {
8 	return __builtin_nan("0");
9 }
10 
11 static long double nanl(void)
12 {
13 	return __builtin_nanl("0");
14 }
15 
16 /*
17  * check-name: builtin_nan expand
18  * check-command: test-linearize -Wno-decl $file
19  * check-known-to-fail
20  *
21  * check-output-ignore
22  * check-output-excludes: call
23  */
24