summaryrefslogtreecommitdiff
path: root/test/files/scalap/typeAnnotations/result.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/scalap/typeAnnotations/result.test')
-rw-r--r--test/files/scalap/typeAnnotations/result.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/scalap/typeAnnotations/result.test b/test/files/scalap/typeAnnotations/result.test
new file mode 100644
index 0000000000..b565d6185b
--- /dev/null
+++ b/test/files/scalap/typeAnnotations/result.test
@@ -0,0 +1,8 @@
+abstract class TypeAnnotations[@scala.specialized R] extends java.lang.Object with scala.ScalaObject {
+ def this() = { /* compiled code */ }
+ @scala.specialized
+ val x : scala.Int = { /* compiled code */ }
+ @scala.specialized
+ type T
+ def compose[@scala.specialized A](x : A, y : R) : A = { /* compiled code */ }
+} \ No newline at end of file