/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <stdio.h>
typedef struct {
int value;
} x_a;
typedef struct {
int value;
} x_b;
void f(x_a a) {
printf("%d\n", a.value);
}
int main()
{
x_b b = { .value = 5 };
f(b);
return 0;
}