summaryrefslogtreecommitdiffstats
path: root/test/ProtoCompare2
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2011-08-28 22:41:38 -0700
committerBrian Carlstrom <bdc@google.com>2011-08-29 09:50:10 -0700
commit9f30b38d74990286ce27c3a45368f73dbe3638f0 (patch)
tree81bddd7b70e4b58aadce258cc25bba64de030deb /test/ProtoCompare2
parent4417536522fd2a9d8215d8672331984769c9520b (diff)
downloadart-9f30b38d74990286ce27c3a45368f73dbe3638f0.zip
art-9f30b38d74990286ce27c3a45368f73dbe3638f0.tar.gz
art-9f30b38d74990286ce27c3a45368f73dbe3638f0.tar.bz2
Externalize test code
Change-Id: Iab19397c7a72fb9a3ca63bfd0bc4eaf1a98138ba
Diffstat (limited to 'test/ProtoCompare2')
-rw-r--r--test/ProtoCompare2/ProtoCompare2.java8
1 files changed, 8 insertions, 0 deletions
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; }
+}