diff options
Diffstat (limited to 'tests/neg')
-rw-r--r-- | tests/neg/dynamicNoImport.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/neg/dynamicNoImport.scala b/tests/neg/dynamicNoImport.scala new file mode 100644 index 000000000..cfaac66a4 --- /dev/null +++ b/tests/neg/dynamicNoImport.scala @@ -0,0 +1,3 @@ +class Foo extends scala.Dynamic // error +trait Bar extends scala.Dynamic // error +object Baz extends scala.Dynamic // error |