aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/expand/builtin_nan.c
blob: 20e3ae925ceef2f1afeaa7c23fe51ef1adf674db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
static float nanf(void)
{
	return __builtin_nanf("0");
}

static double nan(void)
{
	return __builtin_nan("0");
}

static long double nanl(void)
{
	return __builtin_nanl("0");
}

/*
 * check-name: builtin_nan expand
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-excludes: call
 */