diff options
author | Rajan Arora <rarora@redhat.com> | 2009-02-18 20:24:35 -0500 |
---|---|---|
committer | Rajan Arora <rarora@redhat.com> | 2009-02-18 20:24:35 -0500 |
commit | 38b925085d04328c9c0511fc6a7de95a64867835 (patch) | |
tree | a86fde779156882f681926f4067915d34c15b9f2 | |
parent | d5f0c423890f54b7f12da85fbcfc61879efc368e (diff) | |
download | systemtap-steved-38b925085d04328c9c0511fc6a7de95a64867835.tar.gz systemtap-steved-38b925085d04328c9c0511fc6a7de95a64867835.tar.xz systemtap-steved-38b925085d04328c9c0511fc6a7de95a64867835.zip |
Adding test case for PR9719 fix
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | testsuite/semko/typemismatch.stp | 8 |
2 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2009-02-18 Rajan Arora <rarora@redhat.com> + * testuite/semko/typemismatch.stp: New test. + +2009-02-18 Rajan Arora <rarora@redhat.com> + * elaborate.cxx (typeresolution_info::mismatch): Generate semantic error for the token where type was resolved and add to chain * elaborate.h (struct typeresolution_info: public visitor): New diff --git a/testsuite/semko/typemismatch.stp b/testsuite/semko/typemismatch.stp new file mode 100755 index 00000000..94a49d53 --- /dev/null +++ b/testsuite/semko/typemismatch.stp @@ -0,0 +1,8 @@ +#! stap -p2 + + +global noo + +probe begin { foo = 1 ; foo = "bar" ; noo = 4 } + +probe end { foo = "zoo" ; foo <<< 2 ; noo = "zoo" }
\ No newline at end of file |