Blob Blame History Raw
/* 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"                       } }
 */