From 99e17086860d1264d545d6fb02d7480dc411a56f Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Fri, 18 Aug 2023 11:12:01 +0200 Subject: [PATCH] [cling] Expect additional error in Prompt/BlockComments.C --- interpreter/cling/test/Prompt/BlockComments.C | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/interpreter/cling/test/Prompt/BlockComments.C b/interpreter/cling/test/Prompt/BlockComments.C index 761260e7fe133..54e53a29c6c1f 100644 --- a/interpreter/cling/test/Prompt/BlockComments.C +++ b/interpreter/cling/test/Prompt/BlockComments.C @@ -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 @@ -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}} /* // * // */