blob: 5dea3514c2b8b30d6f4e5201d295a579566e9964 [file] [log] [blame]
Douglas Gregor94d96292011-01-19 20:34:17 +00001template<typename ...Args>
2int f(Args ...args) {
3 return sizeof...(args) + sizeof...(Args);
4}
5
6// RUN: c-index-test -test-annotate-tokens=%s:1:1:5:1 -std=c++0x %s | FileCheck %s
7// CHECK: Identifier: "args" [3:20 - 3:24] UnexposedExpr=args:2:15
8// CHECK: Identifier: "Args" [3:38 - 3:42] TypeRef=Args:1:22