diff options
-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 |