Fix preprocessor rules, #1170
This commit is contained in:
parent
117d29a4cb
commit
723c86dc85
2 changed files with 60 additions and 36 deletions
|
|
@ -1,6 +1,21 @@
|
|||
// compound assignment operators
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include \
|
||||
<iostream>
|
||||
|
||||
#include \
|
||||
\
|
||||
<iostream>
|
||||
|
||||
#include \
|
||||
\
|
||||
"iostream"
|
||||
|
||||
#include <boost/asio/io_service.hpp>
|
||||
#include "boost/asio/io_service.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main ()
|
||||
|
|
@ -9,5 +24,15 @@ int main ()
|
|||
a = b;
|
||||
a+=2; // equivalent to a=a+2
|
||||
cout << a;
|
||||
#if VERBOSE >= 2
|
||||
prints("trace message");
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Print an error message and get out */
|
||||
#define ABORT \
|
||||
do { \
|
||||
print( "Abort\n" ); \
|
||||
exit(8); \
|
||||
} while (0) /* Note: No semicolon */
|
||||
Loading…
Add table
Add a link
Reference in a new issue