File: u_1_23.c

package info (click to toggle)
mcpp 2.7.2-5.2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 9,236 kB
  • sloc: ansic: 35,246; sh: 9,241; makefile: 116; cpp: 84; exp: 18
file content (16 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* u_1_23.c:    Undefined behaviors on generating invalid pp-token by #
        operator.   */

#include    <stdio.h>
#define str( a)     # a

main( void)
{

/*  "\\"\"";    This sequence is parsed to three tokens "\\" \ "", and will be
        diagnosed by compiler-proper unless diagnosed by preprocessor.  */
    puts( str( \""));

    return  0;
}