Externalize test code
Change-Id: Iab19397c7a72fb9a3ca63bfd0bc4eaf1a98138ba
diff --git a/test/ProtoCompare2/ProtoCompare2.java b/test/ProtoCompare2/ProtoCompare2.java
new file mode 100644
index 0000000..60d1746
--- /dev/null
+++ b/test/ProtoCompare2/ProtoCompare2.java
@@ -0,0 +1,8 @@
+// Copyright 2011 Google Inc. All Rights Reserved.
+
+class ProtoCompare2 {
+ int m1(short x, int y, long z) { return x + y + (int)z; }
+ int m2(short x, int y, long z) { return x + y + (int)z; }
+ int m3(long x, int y, short z) { return (int)x + y + z; }
+ long m4(long x, int y, short z) { return x + y + z; }
+}