diff options
Diffstat (limited to 'test/files/pos/t7264/B_2.scala')
-rw-r--r-- | test/files/pos/t7264/B_2.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t7264/B_2.scala b/test/files/pos/t7264/B_2.scala new file mode 100644 index 0000000000..869c51481d --- /dev/null +++ b/test/files/pos/t7264/B_2.scala @@ -0,0 +1,7 @@ +object Test { + // if the following line is uncommented, things compile + // type X = Foo.Values + + + def foo(f: Foo) = f.bar(0 /* : Foo.Values */) +} |