aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/plain-char-compatibility.c
blob: cdfe1a31574f4ff13e2de4481ecf856eacccca7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
static int sfoo(void)
{
	return __builtin_types_compatible_p(char, signed char);
}

static int ufoo(void)
{
	return __builtin_types_compatible_p(char, unsigned char);
}

/*
 * check-name: plain-char-compatibility
 * check-command: test-linearize $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-pattern(2): ret.*\\$0
 * check-output-excludes: ret.*\\$1
 */