diff options
author | Edward Barnard <eabarnard@gmail.com> | 2014-12-29 19:10:08 +0100 |
---|---|---|
committer | Edward Barnard <eabarnard@gmail.com> | 2014-12-29 19:10:08 +0100 |
commit | 0e138a1a4c0f4a9b2ee2a76ef5db4a5e4bd061d8 (patch) | |
tree | 590d5f1a9b367af45694f967728b1222abfc22d1 /tests/headers/forward_declared_struct.h | |
parent | dd96a0c5f416c6d0e0689079e228de536a643153 (diff) |
Fix a bug in forward declared structs.
Diffstat (limited to 'tests/headers/forward_declared_struct.h')
-rw-r--r-- | tests/headers/forward_declared_struct.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/headers/forward_declared_struct.h b/tests/headers/forward_declared_struct.h new file mode 100644 index 00000000..2a69450c --- /dev/null +++ b/tests/headers/forward_declared_struct.h @@ -0,0 +1,11 @@ +struct a; + +struct a { + int b; +}; + +struct c { + int d; +}; + +struct c;
\ No newline at end of file |