aboutsummaryrefslogtreecommitdiff
path: root/SingleSource/UnitTests/2004-11-28-GlobalBoolLayout.c
blob: 36738d9a10a8901c8a2f6c118803a66680e731e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdlib.h>
#include <stdio.h>

struct S { _Bool X, Y; char str[100]; };

struct S G = { 1, 1, "fooo" };

int main() {
	int X = strlen(G.str);
	if (X == 10) {
	  scanf("%d, %d\n", &G.X, &G.Y);
        }
	printf("%d %d %d\n", G.X, G.Y, X);
	return X-4;
}