package trycatch18_out;

import java.io.IOException;
import java.net.Socket;

class TestSimple1 {
	void foo(int a) {
		try (/*[*/ Socket s = new Socket()) {
			int i=0;
			Socket s2=new Socket();
			s.getInetAddress();
			s2.getInetAddress();/*]*/
		} catch (IOException e) {
		}
	}
}
