Allow annotations on loop statements

This commit is contained in:
Andrey Breslav
2013-09-23 01:01:57 +04:00
parent c7c151a726
commit db9dd5d320
4 changed files with 29 additions and 1 deletions
@@ -0,0 +1,12 @@
fun test() {
[ann]
while (1 < 2) {}
[ann]
do {} while (1 < 2)
[ann]
for (i in 1..2) {}
}
annotation class ann