summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-12-19 01:41:16 +0000
committerAdrian Prantl <aprantl@apple.com>2013-12-19 01:41:16 +0000
commit1d4866ccbfa64517e5755ddb06f92b4b6aafda0f (patch)
tree92fb4317d01c860db7d9f7a8c4b30827a8799fc1
parent960ede2e1d3387719cf4176582883d60dec6f67b (diff)
downloadllvm-1d4866ccbfa64517e5755ddb06f92b4b6aafda0f.tar.gz
llvm-1d4866ccbfa64517e5755ddb06f92b4b6aafda0f.tar.bz2
llvm-1d4866ccbfa64517e5755ddb06f92b4b6aafda0f.tar.xz
add source in comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197642 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/DebugInfo/debug-info-qualifiers.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/DebugInfo/debug-info-qualifiers.ll b/test/DebugInfo/debug-info-qualifiers.ll
index 625afb1ecc..590a691593 100644
--- a/test/DebugInfo/debug-info-qualifiers.ll
+++ b/test/DebugInfo/debug-info-qualifiers.ll
@@ -1,6 +1,18 @@
; Test (r)value qualifiers on C++11 non-static member functions.
; Generated from tools/clang/test/CodeGenCXX/debug-info-qualifiers.cpp
;
+; class A {
+; public:
+; void l() const &;
+; void r() const &&;
+; };
+;
+; void g() {
+; A a;
+; auto pl = &A::l;
+; auto pr = &A::r;
+; }
+;
; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump - | FileCheck %s
; CHECK: DW_TAG_subroutine_type DW_CHILDREN_yes
; CHECK-NEXT: DW_AT_reference DW_FORM_flag_present