Externalize test code
Change-Id: Iab19397c7a72fb9a3ca63bfd0bc4eaf1a98138ba
diff --git a/test/ProtoCompare/ProtoCompare.java b/test/ProtoCompare/ProtoCompare.java
new file mode 100644
index 0000000..988e07a
--- /dev/null
+++ b/test/ProtoCompare/ProtoCompare.java
@@ -0,0 +1,8 @@
+// Copyright 2011 Google Inc. All Rights Reserved.
+
+class ProtoCompare {
+ 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; }
+}