Warning corrupt state, giving hint of what's to come (9)
I believe the answer is:
foretaste
'hint of what's to come' is the definition.
I can't tell whether this definition defines the answer.
'warning corrupt state' is the wordplay.
'warning' becomes 'fore' (shouted in golf).
'corrupt' indicates an anagram (a corrupted form).
'state' is an anagram of 'taste'.
'fore'+'taste'='FORETASTE'
'giving' acts as a link.
Can you help me to learn more?
(Other definitions for foretaste that I've seen before include "Anticipatory experience" , "Brief experience of what is to come" , "Advance sample" , "Sample of something to come" , "Preview" .)