Home
last modified time | relevance | path

Searched refs:TestStruct (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/
H A Dqsort.d164 static struct TestStruct struct
168 int opCmp(const TestStruct rhs) const in opCmp() argument
175 TestStruct[] a = new TestStruct[10]; variable
177 a[0] = TestStruct(23);
178 a[1] = TestStruct(1);
179 a[2] = TestStruct(64);
180 a[3] = TestStruct(5);
181 a[4] = TestStruct(6);
182 a[5] = TestStruct(5);
183 a[6] = TestStruct(17);
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Dadi.d62 static struct TestStruct struct
66 bool opEquals(const TestStruct rhs) const in opEquals() argument
72 TestStruct[] b = [TestStruct(5)]; variable
73 TestStruct[] c = [TestStruct(6)];
74 assert(_adEq2(*cast(void[]*)&b, *cast(void[]*)&c, typeid(TestStruct[])) == false);
75 assert(_adEq2(*cast(void[]*)&b, *cast(void[]*)&b, typeid(TestStruct[])) == true);
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dvariant.d1989 struct TestStruct(bool pad) in TestStruct() function
2013 testPeekWith!(TestStruct!false)();
2014 testPeekWith!(TestStruct!true)();
H A Dstring.d4153 static struct TestStruct
4168 auto t = TestStruct(s);
4170 assert(detab(TestStruct(s), 9) == cmp);
4171 assert(detab(TestStruct(s), 9) == detab(TestStruct(s), 9));
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dvariant.d2343 struct TestStruct(bool pad) in TestStruct() function
2367 testPeekWith!(TestStruct!false)();
2368 testPeekWith!(TestStruct!true)();
H A Dstring.d4695 static struct TestStruct
4710 auto t = TestStruct(s);
4712 assert(detab(TestStruct(s), 9) == cmp);
4713 assert(detab(TestStruct(s), 9) == detab(TestStruct(s), 9));