diff options
Diffstat (limited to 'test/files/continuations-neg/t5445.check')
-rw-r--r-- | test/files/continuations-neg/t5445.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/continuations-neg/t5445.check b/test/files/continuations-neg/t5445.check new file mode 100644 index 0000000000..eb2943b6a6 --- /dev/null +++ b/test/files/continuations-neg/t5445.check @@ -0,0 +1,4 @@ +t5445.scala:4: error: cps annotations not allowed on by-value parameters or value definitions + def foo(block: Unit @suspendable ): Unit @suspendable = {} + ^ +one error found |