File: u_1_8.c

package info (click to toggle)
mcpp 2.7.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,024 kB
  • ctags: 29,151
  • sloc: ansic: 35,191; sh: 9,231; makefile: 176; cpp: 84; exp: 18
file content (21 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* u_1_8.c:     Undefined behaviors on unterminated quotations. */

/* u.1.8:   Unterminated character constant.    */
/*  The following "comment" may not interpreted as a comment but swallowed by
        the unterminated character constant.    */
#error  I can't understand. /* Token error prior to execution of #error.    */

main( void)
{
/* u.1.9:   Unterminated string literal.    */
    char *  string =
    "String literal
    across the lines.
"
;
    return  0;
}

/* u.1.10:  Unterminated header-name.   */
#include    <assert.h