blob: 3e5d79426e3152a6e9baf98fa6ba50aff3e4c274 [file] [log] [blame]
Erik Verbruggenc068e902018-04-24 08:39:46 +00001// RUN: c-index-test -test-annotate-tokens=%s:1:1:16:1 %s -target x86_64-pc-windows-msvc | FileCheck %s
2class Foo
3{
4public:
5 void step(int v);
6 Foo();
7};
8
9void bar()
10{
11 // Introduce a MSInheritanceAttr node on the CXXRecordDecl for Foo. The
12 // existance of this attribute should not mark all cursors for tokens in
13 // Foo as UnexposedAttr.
14 &Foo::step;
15}
16
17Foo::Foo()
18{}
19
20// CHECK-NOT: UnexposedAttr=