tao_idl, mico_idl and orbit_idl say OK but omniidl
// x.idl
typedef long L;
struct test
{
L _l;
};
[jw at dell idl]$ omniidl x.idl
omniidl: Warning: No back-ends specified; checking IDL for validity
x.idl:5: Instance identifier 'l' clashes with use of identifier 'L'
x.idl:5: ('L' used here)
omniidl: 1 error.