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