Files correlati : Commento : Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
13 lines
338 B
Raku
13 lines
338 B
Raku
/* n_8.t: #error directive. */
|
|
|
|
/* 8.1: Argument of #error directive is not a subject of macro expansion.
|
|
Output to stderr as an example:
|
|
Preprocessing error directive: MACRO is not a positive number.
|
|
from line 10 of file "n_8.t"
|
|
*/
|
|
#define MACRO 0
|
|
#if MACRO <= 0
|
|
#error MACRO is not a positive number.
|
|
#endif
|
|
|