Alessandro Bonazzi e075990ed3 Patch level : 12.0 no-patch
Files correlati     :
Commento            :

Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
2020-11-28 16:24:08 +01:00

22 lines
1.0 KiB
C

/* u_1_8.c: Undefined behaviors on unterminated quotations. */
/* { dg-do preprocess }
{ dg-excess-errors "" } */
/* 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. */
/* { dg-error "missing terminating ' character| unterminated string or character constant| Unterminated character constant" "" { target *-*-* } 9 } */
/* u.1.9: Unterminated string literal. */
"String literal
across the lines.
"
/* { dg-error "multi-line string literals are deprecated| missing terminating \" character| string constant runs past end of line| Unterminated string literal, skipped the line" "" { target *-*-* } 13 } */
/* u.1.10: Unterminated header-name. */
#include <assert.h
/* { dg-error "missing terminating > character| (`#include'|#include) expects | Unterminated header name" "" { target *-*-* } 19 } */