Add test for LinkModules warning on triple, modified by r203009. Datalayout is already tested.