From b0e5eeb119952f30180579b0da4e3acf50891d85 Mon Sep 17 00:00:00 2001 From: Lex Spoon Date: Wed, 30 May 2007 12:54:45 +0000 Subject: --- test/files/neg/annot-nonconst.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/neg/annot-nonconst.scala (limited to 'test/files/neg/annot-nonconst.scala') diff --git a/test/files/neg/annot-nonconst.scala b/test/files/neg/annot-nonconst.scala new file mode 100644 index 0000000000..5a0b72aca2 --- /dev/null +++ b/test/files/neg/annot-nonconst.scala @@ -0,0 +1,6 @@ +class Length(n: Int) extends ClassfileAnnotation + +object Test { + def n = 15 + @Length(n) def foo = "foo" +} -- cgit v1.2.3