1! { dg-do compile }
2! { dg-additional-options "-std=f95" }
3! PR 54633 - this used to be accepted
4program main
5  integer, parameter :: m = minval((/1/)) ! { dg-error "Transformational function" }
6end
7