InputValidator::validate(): add test against ROOT-9202

This commit is contained in:
Javier Lopez-Gomez 2021-07-29 12:50:29 +02:00 committed by jenkins
parent a8a3db4611
commit 8d98340299

View File

@ -23,6 +23,13 @@ Bc
Cc
// CHECK-NEXT: (int) 35
// Should not enter line continuation mode here (ROOT-9202)
unsigned u1 = 45, u2
// CHECK-NEXT: (unsigned int) {{[[:digit:]]+}}
u1
// CHECK-NEXT: (unsigned int) 45
int i1 \ i2 // expected-error {{expected ';' at end of declaration}}
static void InvokeTest(int A,
int B) { printf("Invoke: %d, %d\n", A, B); }
InvokeTest(Ac,