aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/pos/t7377/Client_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disabled/macro/pos/t7377/Client_2.scala')
-rw-r--r--tests/disabled/macro/pos/t7377/Client_2.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/disabled/macro/pos/t7377/Client_2.scala b/tests/disabled/macro/pos/t7377/Client_2.scala
new file mode 100644
index 000000000..5728956cc
--- /dev/null
+++ b/tests/disabled/macro/pos/t7377/Client_2.scala
@@ -0,0 +1,11 @@
+object Test {
+ M.noop(List(1) match { case Nil => 0; case (x::xs) => x })
+
+ case class Foo(a: Int)
+ val FooAlias: Foo.type = Foo
+ M.noop(Foo(0) match { case FooAlias(_) => 0 })
+
+ case class Bar()
+ val BarAlias: Bar.type = Bar
+ M.noop(Bar() match { case BarAlias() => 0 })
+}