@xazax.hun noticed that the AST textual dumps in case of BindingDecl are incomplete. As @NoQ pointed out, there is a special VarDecl which is unique to tuple like structures, and it turned out that this declaration is not visited by the ASTNodeTraverser.
This patch is supposed to fix this issue by telling the ASTNodeTraverser to visit the required VarDecl if it is available.
Unfortunately we can't do that :( Such include would cause the system header to be pulled, which could technically make the test depend on the system on which it runs.
In order to write a test we typically "mock" system headers by bringing in just enough declarations for the rest of the code to work. Eg., you could write something like (I didn't test this):