1! { dg-do compile }
2! { dg-options "-std=legacy" }
3!
4! PR 50553: statement function cannot be target (r178939)
5!
6! Contributed by Vittorio Zecca <zeccav@gmail.com>
7
8f(x)=x
9target f  ! { dg-error "attribute conflicts with" }
10end
11