[cfe-commits] r112716 - /cfe/trunk/test/Index/usrs.cpp
Douglas Gregor
dgregor at apple.com
Wed Sep 1 09:37:17 PDT 2010
Author: dgregor
Date: Wed Sep 1 11:37:17 2010
New Revision: 112716
URL: http://llvm.org/viewvc/llvm-project?rev=112716&view=rev
Log:
Add test for nothing... i.e., the contents of a USR for using directives
Modified:
cfe/trunk/test/Index/usrs.cpp
Modified: cfe/trunk/test/Index/usrs.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/usrs.cpp?rev=112716&r1=112715&r2=112716&view=diff
==============================================================================
--- cfe/trunk/test/Index/usrs.cpp (original)
+++ cfe/trunk/test/Index/usrs.cpp Wed Sep 1 11:37:17 2010
@@ -59,6 +59,8 @@
using namespace foo;
+namespace foo_alias2 = foo;
+
// RUN: c-index-test -test-load-source-usrs all %s | FileCheck %s
// CHECK: usrs.cpp c:@N at foo Extent=[1:11 - 4:2]
// CHECK: usrs.cpp c:@N at foo@x Extent=[2:3 - 2:8]
@@ -112,3 +114,5 @@
// CHECK: usrs.cpp c:usrs.cpp at 941@F at rez@a Extent=[55:12 - 55:17]
// CHECK: usrs.cpp c:usrs.cpp at 948@F at rez@b Extent=[55:19 - 55:24]
// CHECK: usrs.cpp c:@NA at foo_alias
+// CHECK-NOT: foo
+// CHECK: usrs.cpp c:@NA at foo_alias2
More information about the cfe-commits
mailing list