commit | b0b336ebe95b73038e7fdb00677209253edc4be5 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Sep 01 19:08:08 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Sep 01 19:08:08 2012 +0000 |
tree | d636587deba1e777a2fb7792d20b3baa334afb23 | |
parent | da188de2b69f6125d04e8ba8851cd9519ec457c9 [diff] [blame] |
[libclang] Fix indexing type alias declarations. rdar://11878406 llvm-svn: 163072
diff --git a/clang/test/Index/index-file.cpp b/clang/test/Index/index-file.cpp new file mode 100644 index 0000000..bf2d62c --- /dev/null +++ b/clang/test/Index/index-file.cpp
@@ -0,0 +1,6 @@ +using MyTypeAlias = int; + +// RUN: c-index-test -index-file %s > %t +// RUN: FileCheck %s -input-file=%t + +// CHECK: [indexDeclaration]: kind: type-alias | name: MyTypeAlias | {{.*}} | loc: 1:7