Skip to content

Commit c15ff7b

Browse files
committed
Add Scala test case
1 parent a02b10b commit c15ff7b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/pos/i2797a/Fork.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Test is pending because we have no good way to test it.
2+
// We need to: Compile Fork.java, and then compile Test.scala
3+
// with Fork.class on the classpath.
4+
class Fork(value: Int = -1, jvmArgs: Array[String] = Array("nope"))
5+
extends annotation.Annotation

tests/pos/i2797a/Test.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Test is pending because we have no good way to test it.
2+
// We need to: Compile Fork.java, and then compile Test.scala
3+
// with Fork.class on the classpath.
4+
@Fork(jvmArgs = Array("I'm", "hot"))
5+
class Test

0 commit comments

Comments
 (0)