summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/CastStringToObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/CastStringToObject.java')
-rw-r--r--tests/pureJava/CastStringToObject.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pureJava/CastStringToObject.java b/tests/pureJava/CastStringToObject.java
new file mode 100644
index 000000000..32bda041a
--- /dev/null
+++ b/tests/pureJava/CastStringToObject.java
@@ -0,0 +1,5 @@
+class CastStringToObject {
+ public static void main(String[] args) {
+ Object o = (Object)"hello";
+ }
+}