We investigate a possible use of direct photon production in association with a heavy quark to test different models of intrinsic heavy quark parton distribution function (PDF) at the Tevatron, at the large hadron collider (LHC) and at RHIC.