diff options
Diffstat (limited to 'tests/neg/tailcall/t3275.check')
-rw-r--r-- | tests/neg/tailcall/t3275.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/neg/tailcall/t3275.check b/tests/neg/tailcall/t3275.check new file mode 100644 index 000000000..117c79232 --- /dev/null +++ b/tests/neg/tailcall/t3275.check @@ -0,0 +1,4 @@ +t3275.scala:2: error: @tailrec annotated method contains no recursive calls + @annotation.tailrec def foo() = 5 + ^ +one error found |