brintos

brintos / llvm-project-archived public Read only

0
0
Text · 442 B · 98de61a Raw
9 lines · cpp
1// RUN: not clang-refactor local-rename -selection=%s:4:1 -new-name=Bar %s -- 2>&1 | grep -v CHECK | FileCheck %s2// RUN: clang-refactor local-rename -selection=test:%s -new-name=Bar %s -- 2>&1 | grep -v CHECK | FileCheck --check-prefix=TESTCHECK %s3 4class Baz { // CHECK: [[@LINE]]:1: error: there is no symbol at the given location5};6/*range=*/;7// TESTCHECK:      1 '' results:8// TESTCHECK-NEXT: there is no symbol at the given location9