Skip to content
Snippets Groups Projects
Commit d96a8efb authored by bryce's avatar bryce
Browse files

Test case for PR libgcj/184:

        * libjava.lang/pr184.java: New file.
        * libjava.lang/pr184.out: New file.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32796 138bc75d-0d04-0410-961f-82ee72b054a4
parent f220c8f0
No related branches found
No related tags found
No related merge requests found
2000-03-28 Bryce McKinlay <bryce@albatross.co.nz>
Test case for PR libgcj/184:
* libjava.lang/pr184.java: New file.
* libjava.lang/pr184.out: New file.
2000-03-27 Tom Tromey <tromey@cygnus.com> 2000-03-27 Tom Tromey <tromey@cygnus.com>
* libjava.lang/test_long.out: New file. * libjava.lang/test_long.out: New file.
......
public class pr184
{
public static void main(String[] args)
{
pr184 n = null;
try
{
n.foo();
}
catch (NullPointerException x)
{
System.out.println(x);
}
}
int x = 2;
final int foo()
{
return x;
};
}
java.lang.NullPointerException
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment