2011-10-08 | Paul Boddie | file changeset files shortlog | Minor formatting changes. |
dmd@188 | 1 | |
dmd@188 | 2 | class AnnotationTest { |
dmd@188 | 3 | @Annotation(a=1, b="foo") |
dmd@188 | 4 | public static void hello() { |
dmd@188 | 5 | } |
dmd@188 | 6 | @AnnotationMarker |
dmd@188 | 7 | private static int getx() { |
dmd@188 | 8 | return 1; |
dmd@188 | 9 | } |
dmd@188 | 10 | private static int addup(@Annotation(b="param") int x, |
dmd@188 | 11 | int y) { |
dmd@188 | 12 | return x+y; |
dmd@188 | 13 | } |
dmd@188 | 14 | } |