aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr135068/C2.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs152/pr135068/C2.java')
-rw-r--r--tests/bugs152/pr135068/C2.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs152/pr135068/C2.java b/tests/bugs152/pr135068/C2.java
new file mode 100644
index 000000000..b363356b1
--- /dev/null
+++ b/tests/bugs152/pr135068/C2.java
@@ -0,0 +1,14 @@
+
+import java.net.InetAddress;
+import java.net.UnknownHostException;
+
+public class C2 {
+
+ public static InetAddress getAddress() throws UnknownHostException {
+ return null;
+ }
+
+ public static void main(String[] args) throws Exception {
+ System.out.println(getAddress().toString());
+ }
+}