1 // RUN: not clang-refactor local-rename -selection=%s:4:1 -new-name=Bar %s -- 2>&1 | grep -v CHECK | FileCheck %s 2 // RUN: clang-refactor local-rename -selection=test:%s -new-name=Bar %s -- 2>&1 | grep -v CHECK | FileCheck --check-prefix=TESTCHECK %s 3 4 class Baz { // CHECK: [[@LINE]]:1: error: there is no symbol at the given location 5 }; 6 /*range=*/; 7 // TESTCHECK: 1 '' results: 8 // TESTCHECK-NEXT: there is no symbol at the given location 9