source:
tests/linking/mangling/header.hfa
Last change on this file was 85a95cc, checked in by , 17 months ago | |
---|---|
|
|
File size: 314 bytes |
Line | |
---|---|
1 | #pragma once |
2 | |
3 | typedef struct /* anonymous */ { |
4 | int some_int; |
5 | float a_float; |
6 | } name_but_a_typedefed_t; |
7 | |
8 | extern name_but_a_typedefed_t a_typedefed_global; |
9 | |
10 | // Must be extern C to prevent name mangling. |
11 | extern "C" { |
12 | extern struct /* anonymous */ { |
13 | int some_int; |
14 | int some_other_int; |
15 | } a_global_with_no_type; |
16 | } |
Note: See TracBrowser
for help on using the repository browser.