xref: /illumos-gate/usr/src/tools/smatch/src/validation/expand/builtin_isnormal.c (revision 71815ce76261aa773c97600750fdce92334d1990)
1 int test(void)
2 {
3 	if (!__builtin_isnormal(1.0F))
4 		return 0;
5 	if (!__builtin_isnormal(1.0))
6 		return 0;
7 	if (!__builtin_isnormal(1.0L))
8 		return 0;
9 
10 	return 1;
11 }
12 
13 /*
14  * check-name: builtin_isnormal expand
15  * check-command: test-linearize -Wno-decl $file
16  * check-known-to-fail
17  *
18  * check-output-ignore
19  * check-output-contains: ret\\..*\\$1
20  */
21