Skip to content

Commit

Permalink
Expect additional error in Prompt/BlockComments.C
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnjo authored and jenkins committed Dec 11, 2023
1 parent 25ebd99 commit 174d452
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions 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 174d452

Please sign in to comment.