1 namespace cpp_namespace
{
16 CppStruct
GetCppStruct() {
22 CppStruct
*GetCppStructPtr() {
31 cpp_namespace::CppStruct cpp_struct
= cpp_namespace::GetCppStruct();
32 cpp_struct
.function();
34 cpp_namespace::CppStruct
&cpp_struct_ref
= cpp_struct
;
35 cpp_struct_ref
.function();
39 cpp_namespace::CppUnion cpp_union
;
40 cpp_union
.field_int
= 5555;
42 int cpp_scalar
= 6666;
44 cpp_namespace::CppStruct cpp_array
[16];
46 cpp_namespace::CppStruct
*cpp_pointer
= cpp_namespace::GetCppStructPtr();
48 return 0; // Break here