1f08c3bdfSopenharmony_citypedef unsigned int u32; 2f08c3bdfSopenharmony_ci 3f08c3bdfSopenharmony_ciu32 unotnot(u32 a) { return ~(~a); } 4f08c3bdfSopenharmony_ciint snotnot(int a) { return ~(~a); } 5f08c3bdfSopenharmony_ciu32 unegneg(int a) { return -(-a); } 6f08c3bdfSopenharmony_ciint snegneg(int a) { return -(-a); } 7f08c3bdfSopenharmony_ci 8f08c3bdfSopenharmony_ci/* 9f08c3bdfSopenharmony_ci * check-name: double-unop 10f08c3bdfSopenharmony_ci * check-command: test-linearize -Wno-decl $file 11f08c3bdfSopenharmony_ci * check-output-ignore 12f08c3bdfSopenharmony_ci * 13f08c3bdfSopenharmony_ci * check-output-excludes: not\\. 14f08c3bdfSopenharmony_ci * check-output-excludes: neg\\. 15f08c3bdfSopenharmony_ci */ 16