1 /* Example of a one-line C-style comment. */
3 { dg-message "1: got C-style comment; length=45" "" { target *-*-* } .-2 }
4 { dg-begin-multiline-output "" }
5 stripped content of comment: > Example of a one-line C-style comment. <
6 { dg-end-multiline-output "" }
9 /*Another example of a one-line C-style comment.*/
11 { dg-message "6: got C-style comment; length=50" "" { target *-*-* } .-2 }
12 { dg-begin-multiline-output "" }
13 stripped content of comment: >Another example of a one-line C-style comment.<
14 { dg-end-multiline-output "" }
19 { dg-message "1: got C-style comment; length=4" "" { target *-*-* } .-2 }
20 { dg-begin-multiline-output "" }
21 stripped content of comment: ><
22 { dg-end-multiline-output "" }
26 multi-line C-style comment. */
28 { dg-message "1: got C-style comment; length=50" "" { target *-*-* } .-3 }
29 { dg-begin-multiline-output "" }
30 stripped content of comment: > Example of a
31 multi-line C-style comment. <
32 { dg-end-multiline-output "" }
35 // Example of a C++-style comment
37 { dg-message "1: got C\\+\\+-style comment; length=33" "" { target *-*-* } .-2 }
38 { dg-begin-multiline-output "" }
39 stripped content of comment: > Example of a C++-style comment<
40 { dg-end-multiline-output "" }
45 { dg-message "1: got C\\+\\+-style comment; length=2" "" { target *-*-* } .-2 }
46 { dg-begin-multiline-output "" }
47 stripped content of comment: ><
48 { dg-end-multiline-output "" }