! Program to test the default initialisation of enumerators inside different program unitmodule modimplicit none enum,bind(c)enumerator::red,yellow,blueenumerator::greenend enumend module modprogram mainuse modimplicit none if(red/=0)call abortif(yellow/=1)call abortif(blue/=2)call abortif(green/=3)call abortend program main