Test retrieving struct layout from C.

The plumbing needs some work, but the idea is essentially there.