diff options
Diffstat (limited to 'tests/shared/src/main')
-rw-r--r-- | tests/shared/src/main/scala/magnolia/main.scala | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/shared/src/main/scala/magnolia/main.scala b/tests/shared/src/main/scala/magnolia/main.scala new file mode 100644 index 0000000..6bf5f74 --- /dev/null +++ b/tests/shared/src/main/scala/magnolia/main.scala @@ -0,0 +1,18 @@ +package magnolia + +sealed trait Bar +case class Foo(one: Int) extends Bar +case class Quux(two: Int, bar: Bar) extends Bar +case class Bippy(four: Int, bar: Bar) +case class Baz(x: Bar) extends AnyVal + +case class X(y: Y) +case class Y(x: X) + +object Main { + def main(args: Array[String]): Unit = { + println(implicitly[Extractor[Bar]].extract("hello world")) + + } +} + |