3 integer function func()
5 integer, asynchronous:: b
14 function func2() result(res) ! { dg-error " RESULT variable" }
17 target func2 ! { dg-error " RESULT variable" }
18 volatile func2 ! { dg-error " RESULT variable" }
19 asynchronous func2 ! { dg-error " RESULT variable" }
20 allocatable func2 ! { dg-error " RESULT variable" }
21 dimension func2(2) ! { dg-error " RESULT variable" }
22 codimension func2[*] ! { dg-error " RESULT variable" }
23 contiguous func2 ! { dg-error " RESULT variable" }