Alessandro Bonazzi
e075990ed3
Files correlati : Commento : Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
22 lines
702 B
C
22 lines
702 B
C
/* n_4.c: Special tokens. */
|
|
|
|
/* 4.1: Digraph spellings in directive line. */
|
|
/* "abc"; */
|
|
%: define stringize( a) %: a
|
|
|
|
stringize( abc);
|
|
|
|
/* 4.2: Digraph spellings are retained in stringization. */
|
|
/* "<:"; */
|
|
stringize( <:);
|
|
|
|
/* { dg-do preprocess }
|
|
{ dg-options "-std=iso9899:199409" }
|
|
{ dg-final { if ![file exist n_4.i] { return } } }
|
|
{ dg-final { if \{ [grep n_4.i "\"abc\""] != "" \} \{ } }
|
|
{ dg-final { if \{ [grep n_4.i "\"<:\""] != "" \} \{ } }
|
|
{ dg-final { return \} \} } }
|
|
{ dg-final { fail "n_4.c: digraphs conversion" } }
|
|
*/
|
|
|