forgot to add test

This commit is contained in:
Mark Harrah 2011-05-23 19:04:44 -04:00
parent 24dfb69400
commit 43600cd3f2
4 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,3 @@
package testCase
case class FooUser(@Foo a: Int)

View File

@ -0,0 +1,10 @@
package testCase;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface JFoo {
}

View File

@ -0,0 +1,7 @@
import annotation.target.field
package object testCase {
type Foo = JFoo @field;
}

View File

@ -0,0 +1 @@
> compile