int foo( volatile int *x, int v ) { return *x - v; } int main() { volatile int x = 4; return foo( &x, 4 ); }