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