2017-10-25 01:18:45 +08:00
|
|
|
// RUN: not clang-refactor local-rename -selection=%s:4:1 -new-name=Bar %s -- 2>&1 | grep -v CHECK | FileCheck %s
|
|
|
|
// RUN: clang-refactor local-rename -selection=test:%s -new-name=Bar %s -- 2>&1 | grep -v CHECK | FileCheck --check-prefix=TESTCHECK %s
|
2017-10-17 02:28:26 +08:00
|
|
|
|
|
|
|
class Baz { // CHECK: [[@LINE]]:1: error: there is no symbol at the given location
|
|
|
|
};
|
|
|
|
/*range=*/;
|
|
|
|
// TESTCHECK: 1 '' results:
|
|
|
|
// TESTCHECK-NEXT: there is no symbol at the given location
|