File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
interpreter/cling/test/Extensions/Lookup Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 66// LICENSE.TXT for details.
77//------------------------------------------------------------------------------
88
9- // RUN: cat %s | %cling -I%p 2>&1 | FileCheck %s
9+ // RUN: cat %s | %cling -I%p -Xclang -verify 2>&1
1010
1111// Test failures of dynamic lookups.
1212
2727std ::unique_ptr < cling ::test ::SymbolResolverCallback > SRC ;
2828SRC .reset (new cling ::test ::SymbolResolverCallback (gCling , false))
2929gCling -> setCallbacks (std ::move (SRC ));
30- p .q // CHECK: {{input_line_.*: error: use of undeclared identifier 'p'}}
30+ p .q
31+ // expected-error@input_line_28:2 {{use of undeclared identifier 'p'}}
3132
3233// `auto` is not supported
3334auto x = unknownexpression ()
34- // CHECK: error: cannot deduce 'auto' from unknown expression
35- // CHECK-NEXT: auto x = unknownexpression
36- // CHECK-NEXT: ^
35+ // expected-error@input_line_31:2 {{cannot deduce 'auto' from unknown expression}}
3736.q
You can’t perform that action at this time.
0 commit comments