public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
To: <systemtap@sourceware.org>
Subject: [PATCH 2/3] Add more case for typemismatch
Date: Thu, 10 Dec 2015 10:43:00 -0000	[thread overview]
Message-ID: <1449744091-1673-2-git-send-email-zhouwj-fnst@cn.fujitsu.com> (raw)
In-Reply-To: <1449744091-1673-1-git-send-email-zhouwj-fnst@cn.fujitsu.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



      parent reply	other threads:[~2015-12-10 10:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-10 10:43 [PATCH 1/3] Add more case for -p Zhou Wenjian
2015-12-10 10:43 ` [PATCH 3/3] Add new case for -k Zhou Wenjian
2015-12-23 15:53   ` David Smith
2015-12-10 10:43 ` Zhou Wenjian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1449744091-1673-2-git-send-email-zhouwj-fnst@cn.fujitsu.com \
    --to=zhouwj-fnst@cn.fujitsu.com \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).