[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Refactor / LocalRename / NoSymbolSelectedError.cpp
blob98de61a45f46a25d7ae624cfe5a765884d43096f
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
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