Mentions légales du service

Skip to content

Issue with parsing of compound expressions

Hi, For the code:

typedef struct {
  int x;
  int y;
} vect;

int main() {
  vect v;
  v = (vect) {0,10};
}

I get for the RHS of the last assignment: e.desc equal to UnknownExpr (CompoundLiteralExpr, CompoundLiteralExpr).

Could you please check it out? Many thanks.