2011-01-20 04:50:07 +08:00
|
|
|
template<typename ...Types>
|
|
|
|
struct tuple { };
|
|
|
|
|
|
|
|
void f(tuple<int, float, double>);
|
|
|
|
|
2014-12-08 16:48:21 +08:00
|
|
|
class TestCls {
|
|
|
|
void meth() &;
|
|
|
|
void meth() &&;
|
2014-12-08 16:48:27 +08:00
|
|
|
void meth(int&&);
|
2014-12-08 16:48:21 +08:00
|
|
|
};
|
|
|
|
|
2011-10-14 06:29:44 +08:00
|
|
|
// RUN: c-index-test -test-load-source-usrs all -std=c++11 %s | FileCheck %s
|
2011-01-20 04:50:07 +08:00
|
|
|
// CHECK: usrs-cxx0x.cpp c:@ST>1#pT@tuple Extent=[1:1 - 2:17]
|
2011-03-08 16:55:46 +08:00
|
|
|
// CHECK: usrs-cxx0x.cpp c:@F@f#$@S@tuple>#p3Ifd# Extent=[4:1 - 4:34]
|
2014-12-08 16:48:21 +08:00
|
|
|
|
2014-12-08 16:48:33 +08:00
|
|
|
// CHECK: usrs-cxx0x.cpp c:@S@TestCls@F@meth#& Extent=[7:3 - 7:16]
|
|
|
|
// CHECK: usrs-cxx0x.cpp c:@S@TestCls@F@meth#&& Extent=[8:3 - 8:17]
|
|
|
|
// CHECK: usrs-cxx0x.cpp c:@S@TestCls@F@meth#&&I# Extent=[9:3 - 9:19]
|