Skip to content

Commit

Permalink
[cling] Expect additional error in Prompt/BlockComments.C
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnjo committed Oct 4, 2023
1 parent 6ac259a commit 1d2c584
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions interpreter/cling/test/Prompt/BlockComments.C
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@
// /* */ // expected-warning {{within block comment}}

.rawInput 1
*/ // expected-error {{expected unqualified-id}}
*/
.rawInput 0
// expected-error@input_line_23:1 {{expected expression}}
// expected-error@<<< cling interactive line includer >>>:1 {{expected expression}}


// This is a side effect of wrapping, expression is compiled as */; so 2 errors
Expand All @@ -69,10 +71,10 @@
/* // /* */// expected-warning {{within block comment}}

/* // /* *// */
// expected-warning@input_line_27:2 {{within block comment}}
// expected-error@input_line_27:2 {{expected expression}}
// expected-error@input_line_27:2 {{expected expression}}
// expected-error@input_line_27:3 {{expected expression}}
// expected-warning@input_line_29:2 {{within block comment}}
// expected-error@input_line_29:2 {{expected expression}}
// expected-error@input_line_29:2 {{expected expression}}
// expected-error@input_line_29:3 {{expected expression}}

/* // * // */

Expand Down

0 comments on commit 1d2c584

Please sign in to comment.