aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/faultingInSource/SampleClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/faultingInSource/SampleClass.java')
-rw-r--r--tests/bugs/faultingInSource/SampleClass.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs/faultingInSource/SampleClass.java b/tests/bugs/faultingInSource/SampleClass.java
new file mode 100644
index 000000000..e5e736360
--- /dev/null
+++ b/tests/bugs/faultingInSource/SampleClass.java
@@ -0,0 +1,13 @@
+public class SampleClass
+{
+ void foo (String s)
+ {
+ System.out.println ("Printing " + s);
+ }
+
+ public static void main(String[] args)
+ {
+ SampleClass sc = new SampleClass();
+ sc.foo ("hahaha");
+ }
+}