Skip to content

Commit

Permalink
Add test case neg/i19248
Browse files Browse the repository at this point in the history
  • Loading branch information
Friendseeker committed Oct 9, 2024
1 parent 632278e commit ac05bd5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/neg/i19248/Foo.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
trait Foo { // error
class Bar

type T = Foo.this.Bar

inline def f: Int = ???
}
3 changes: 3 additions & 0 deletions tests/neg/i19248/Main.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@main
def Main(args: String*): Unit =
()
4 changes: 4 additions & 0 deletions tests/neg/i19248/Scope.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
object Scope {
}
object Foo {
}
1 change: 1 addition & 0 deletions tests/neg/i19248/empty.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit ac05bd5

Please sign in to comment.