1! { dg-do compile }
2! { dg-options "-std=f95" }
3!
4! PR/fortran 25829
5!
6! Check parsing ASYNCHRONOUS
7!
8function func2() result(res)
9  asynchronous res ! { dg-error "Fortran 2003: ASYNCHRONOUS" }
10end function func2
11