diff options
Diffstat (limited to 'libctf/testsuite/libctf-lookup/unnamed-field-info-ctf.c')
-rw-r--r-- | libctf/testsuite/libctf-lookup/unnamed-field-info-ctf.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libctf/testsuite/libctf-lookup/unnamed-field-info-ctf.c b/libctf/testsuite/libctf-lookup/unnamed-field-info-ctf.c new file mode 100644 index 0000000..54d60f5 --- /dev/null +++ b/libctf/testsuite/libctf-lookup/unnamed-field-info-ctf.c @@ -0,0 +1,36 @@ +struct A +{ + int a; + char *b; + struct + { + struct + { + char *one; + int two; + }; + union + { + char *three; + }; + }; + struct + { + int four; + }; + union + { + struct + { + double x; + long y; + }; + struct + { + struct { char *foo; } z; + float aleph; + }; + }; +}; + +struct A used; |