1f08c3bdfSopenharmony_ciunsigned long long foo(unsigned long long x) 2f08c3bdfSopenharmony_ci{ 3f08c3bdfSopenharmony_ci return (((unsigned int) x) & 0x7ffU); 4f08c3bdfSopenharmony_ci} 5f08c3bdfSopenharmony_ci 6f08c3bdfSopenharmony_ci/* 7f08c3bdfSopenharmony_ci * check-name: trunc-mask-zext 8f08c3bdfSopenharmony_ci * check-command: test-linearize -Wno-decl $file 9f08c3bdfSopenharmony_ci * 10f08c3bdfSopenharmony_ci * check-output-ignore 11f08c3bdfSopenharmony_ci * check-output-excludes: trunc\\. 12f08c3bdfSopenharmony_ci * check-output-excludes: zext\\. 13f08c3bdfSopenharmony_ci */ 14