fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. #define ProvSetBit(maArg) EXPAND(ProvSetBit_1 maArg)
  5.  
  6. #define ProvSetBit_1(reg, bit) cout << '(' << #reg << ", " << #bit << ')' << endl
  7.  
  8. #define COMMAND_ON_DF (SystemStatus[0], 0u)
  9.  
  10. #define EXPAND(x) EXPAND_I(x)
  11.  
  12. #define EXPAND_I(x) x
  13.  
  14. int main() {
  15. ProvSetBit(COMMAND_ON_DF);
  16. return 0;
  17. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
(SystemStatus[0], 0u)