summaryrefslogtreecommitdiffstats
path: root/test/cvtest.d
diff options
context:
space:
mode:
authorsagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2010-03-12 11:59:48 (GMT)
committersagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2010-03-12 11:59:48 (GMT)
commitb5b9076d2370cb7a5d9fe30c7ffee38e19def0c7 (patch)
tree0bbbff37a578e45219e595888e388ed8cb526ff3 /test/cvtest.d
parentca2d69f4a43f7209113ceee6773bd04bbe6bd317 (diff)
downloadcv2pdb-b5b9076d2370cb7a5d9fe30c7ffee38e19def0c7.zip
cv2pdb-b5b9076d2370cb7a5d9fe30c7ffee38e19def0c7.tar.gz
cv2pdb-b5b9076d2370cb7a5d9fe30c7ffee38e19def0c7.tar.bz2
* names of local function are now demangled
* added managed C++ project to integrate cv2pdb with CLR
Diffstat (limited to 'test/cvtest.d')
-rw-r--r--test/cvtest.d21
1 files changed, 20 insertions, 1 deletions
diff --git a/test/cvtest.d b/test/cvtest.d
index 2336fc8..f504500 100644
--- a/test/cvtest.d
+++ b/test/cvtest.d
@@ -129,6 +129,21 @@ class Templ(T)
}
}
+struct struc
+{
+ int a;
+ struc * next;
+}
+
+class class_with_struct_member
+{
+ int c1;
+ int c2;
+ struc *s1;
+
+ this() { s1 = new struc; }
+};
+
version(D2)
{
string stringMixin = "int a = 0;
@@ -183,6 +198,8 @@ int main2(char[][]argv)
int delegate() dg = &inst_method.method;
int res = dg();
+ class_with_struct_member cwsm = new class_with_struct_member;
+
return 0;
}
@@ -215,11 +232,13 @@ int main(char[][]argv)
struc_arr[ab2] = 6;
struc_arr[ab3] = 7;
+ struc s = { 2, null };
+
Templ!(int) templ = new Templ!(int);
int y = templ.foo(3);
version(D2)
int z = mixinTest(7);
-
+
(new Test).test();
dmd_quirks();