commit | 20f12a20ba9cfa6f8d53c8304e24f50903c45184 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Sun Dec 06 18:00:51 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Sun Dec 06 18:00:51 2009 +0000 |
tree | 67ac17205711a77283de110250fac838a0b17182 | |
parent | 29d9c1adfadf65e2d847d44bec37746844b9e0e3 [diff] [blame] |
Add rudimentary support for member pointers to CGDebugInfo. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90711 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/debug-info.cpp b/test/CodeGenCXX/debug-info.cpp index b89435a..c5e3c79 100644 --- a/test/CodeGenCXX/debug-info.cpp +++ b/test/CodeGenCXX/debug-info.cpp
@@ -11,3 +11,10 @@ A<T> *next; }; void f(A<int>) { } + +struct B { }; + +void f() { + int B::*a = 0; + void (B::*b)() = 0; +}