Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/linking/mangling/header.hfa

    re1d66c84 r85a95cc  
    88extern name_but_a_typedefed_t a_typedefed_global;
    99
    10 extern struct /* anonymous */ {
    11         int some_int;
    12         int some_other_int;
    13 } a_global_with_no_type;
     10// Must be extern C to prevent name mangling.
     11extern "C" {
     12        extern struct /* anonymous */ {
     13                int some_int;
     14                int some_other_int;
     15        } a_global_with_no_type;
     16}
Note: See TracChangeset for help on using the changeset viewer.