forked from OSchip/llvm-project
Add test for nothing... i.e., the contents of a USR for using directives
llvm-svn: 112716
This commit is contained in:
parent
eece0eaa85
commit
920cadf9ae
|
@ -59,6 +59,8 @@ namespace foo_alias = foo;
|
|||
|
||||
using namespace foo;
|
||||
|
||||
namespace foo_alias2 = foo;
|
||||
|
||||
// RUN: c-index-test -test-load-source-usrs all %s | FileCheck %s
|
||||
// CHECK: usrs.cpp c:@N@foo Extent=[1:11 - 4:2]
|
||||
// CHECK: usrs.cpp c:@N@foo@x Extent=[2:3 - 2:8]
|
||||
|
@ -112,3 +114,5 @@ using namespace foo;
|
|||
// CHECK: usrs.cpp c:usrs.cpp@941@F@rez@a Extent=[55:12 - 55:17]
|
||||
// CHECK: usrs.cpp c:usrs.cpp@948@F@rez@b Extent=[55:19 - 55:24]
|
||||
// CHECK: usrs.cpp c:@NA@foo_alias
|
||||
// CHECK-NOT: foo
|
||||
// CHECK: usrs.cpp c:@NA@foo_alias2
|
||||
|
|
Loading…
Reference in New Issue