diff options
Diffstat (limited to 'tests/pureJava/CastStringToObject.java')
-rw-r--r-- | tests/pureJava/CastStringToObject.java | 5 |
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"; + } +} |