Better function header dump
[official-gcc.git] / libjava / testsuite / libjava.lang / RH194522.java
blob5ea446cbd29df3e92186ff52c1f08aaf8ec4ee56
1 // Test case for http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194522
3 import java.io.*;
4 import java.nio.charset.Charset;
6 public class RH194522
8 public static void main(String[] args) throws Exception
10 Charset c = Charset.forName("UTF-8");
11 ByteArrayOutputStream baos = new ByteArrayOutputStream();
12 PrintWriter pw = new PrintWriter(new OutputStreamWriter(baos, c));
13 pw.println("hi");
14 pw.println("bob");
15 pw.flush();
16 pw.close();