projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cf17c0
)
checkcast testcase
author
tbfg
<none@none>
Fri, 3 Nov 2006 15:40:32 +0000
(15:40 +0000)
committer
tbfg
<none@none>
Fri, 3 Nov 2006 15:40:32 +0000
(15:40 +0000)
tests/checkcast.java
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/checkcast.java
b/tests/checkcast.java
new file mode 100644
(file)
index 0000000..
3b403d8
--- /dev/null
+++ b/
tests/checkcast.java
@@ -0,0
+1,8
@@
+class checkcast {
+ public static void main(String[] args) {
+ Object o1 = new String();
+ Object o2 = new Integer(1);
+ String s1 = (String)o1;
+ String s2 = (String)o2;
+ }
+}