This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH 2/3] Add more case for typemismatch
- From: Zhou Wenjian <zhouwj-fnst at cn dot fujitsu dot com>
- To: <systemtap at sourceware dot org>
- Date: Thu, 10 Dec 2015 18:41:30 +0800
- Subject: [PATCH 2/3] Add more case for typemismatch
- Authentication-results: sourceware.org; auth=none
- References: <1449744091-1673-1-git-send-email-zhouwj-fnst at cn dot fujitsu dot com>
* testsuite/semko/typemismatch5.stp: add more case
---
testsuite/semko/typemismatch5.stp | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100755 testsuite/semko/typemismatch5.stp
diff --git a/testsuite/semko/typemismatch5.stp b/testsuite/semko/typemismatch5.stp
new file mode 100755
index 0000000..37dc5c9
--- /dev/null
+++ b/testsuite/semko/typemismatch5.stp
@@ -0,0 +1,11 @@
+#! stap -p2
+
+global array
+
+probe begin
+{
+ array[3] = 2015
+ array[5] = "2015"
+ print(array[3])
+ print(array[5])
+}
--
1.8.3.1