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