summaryrefslogtreecommitdiff
path: root/test/test43.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test43.cpp')
-rw-r--r--test/test43.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test43.cpp b/test/test43.cpp
index d1df67f..bce27eb 100644
--- a/test/test43.cpp
+++ b/test/test43.cpp
@@ -104,4 +104,10 @@ class Object1
if (ptr1)
ptr1->val = 100;
}
+
+ void func6(Data1 *ptr1)
+ {
+ Data1 var1;
+ var1.ptrval = ptr1;
+ }
};