blob: ccdb00c92d51883c9c38fc0c5aff24d7f860ea73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
int a = 1+1;
int b = -a + -a;
int c = -a mod -a;
int d = +a;
int fn(int) { return 0; }
int test() {
// these can't be evaluated at compile time
int ta = -fn(-a) - a;
int tb = -fn(-a) + -a;
}
|