Skip to content

Commit

Permalink
Merge pull request #10182 from som-snytt/issue/7481-nospec-array
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Oct 8, 2022
2 parents cd52542 + 69bff24 commit 4905801
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/files/pos/t7481.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

// scalac: -no-specialization

object Test {
// val fixesCompile = Array(1, 2, 3)

def foo: Any = new Array[Byte](0)

def f[@specialized(Int) A](a: A): A = a
}

0 comments on commit 4905801

Please sign in to comment.