Skip to content

Commit

Permalink
[cling] Update expected output of cling/test/Lookup/data.C
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnjo authored and devajithvs committed Aug 28, 2024
1 parent 434121f commit c90c882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interpreter/cling/test/Lookup/data.C
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ decl = lookup.findDataMember(class_tempFlt,"gValue", diags);
printScope(decl->getDeclContext());
decl->dump(cling::outs());
//CHECK-NEXT: Context is aTemplate
//CHECK-NEXT: VarDecl 0x{{[1-9a-f][0-9a-f]*}} <{{.*}}> col:13 gValue 'float':'float' static
//CHECK-NEXT: VarDecl 0x{{[1-9a-f][0-9a-f]*}} <{{.*}}> col:13 gValue 'float' implicit_instantiation static

decl = lookup.findDataMember(class_tempFlt,"fMember", diags);
printScope(decl->getDeclContext());
decl->dump(cling::outs());
//CHECK-NEXT: Context is aTemplate
//CHECK-NEXT: FieldDecl 0x{{[1-9a-f][0-9a-f]*}} <{{.*}}> col:6 fMember 'float':'float'
//CHECK-NEXT: FieldDecl 0x{{[1-9a-f][0-9a-f]*}} <{{.*}}> col:6 fMember 'float'

decl = lookup.findDataMember(namespace_NS,"gValue", diags);
printScope(decl->getDeclContext());
Expand Down

0 comments on commit c90c882

Please sign in to comment.