! { dg-do compile }! { dg-options "-w" }! PR fortran/78739! Code contributed Gerhard Steinmetzfunctionf(n)f() = n ! { dg-error "conflicts with function name" }endfunctiong()g(x) = x ! { dg-error "conflicts with function name" }endfunctiona()! This should cause an error, but cannot be easily detected!a() = x
end