2 REQUIRED_ARGS: -HC=verbose -c -o-
6 // Automatically generated by Digital Mars D Compiler v$n$
15 #ifdef CUSTOM_D_ARRAY_TYPE
16 #define _d_dynamicArray CUSTOM_D_ARRAY_TYPE
18 /// Represents a D [] array
20 struct _d_dynamicArray final
25 _d_dynamicArray() : length(0), ptr(NULL) { }
27 _d_dynamicArray(size_t length_in, T *ptr_in)
28 : length(length_in), ptr(ptr_in) { }
30 T& operator[](const size_t idx) {
35 const T& operator[](const size_t idx) const {
45 enum : int32_t { b = 2 };
47 // Ignored enum `dtoh_21217.Foo.c` because it is `private`.
49 enum : int32_t { d = 4 };
51 enum : int32_t { e = 5 };
54 enum : int32_t { f = 6 };
56 enum : int32_t { g = 7 };
65 // Ignored enum `dtoh_21217.Foo.h` because it is `private`.
80 extern(C
++) struct Foo
{
89 private enum Bar
{ a
= 1, b
= 2 }
90 private enum h
= Bar
.a
;