brintos

brintos / llvm-project-archived public Read only

0
0
Text · 357 B · d6366e7 Raw
18 lines · cpp
1typedef struct {2  float f;3  int i;4} my_untagged_struct;5 6double multiply(my_untagged_struct *s) { return s->f * s->i; }7 8double multiply(my_untagged_struct *s, int x) { return multiply(s) * x; }9 10int main(int argc, char **argv) {11  my_untagged_struct s = {12      .f = (float)argc,13      .i = argc,14  };15  // break here16  return multiply(&s, argc) > 0;17}18