diff options
author | Eric Christopher <echristo@apple.com> | 2012-01-20 22:10:18 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-01-20 22:10:18 +0000 |
commit | c4f4d5d570f294d011e276dc18d6d840e847958a (patch) | |
tree | e671ed06f70c5be3f8284eb7330d55252a170eb9 /test/CodeGenCXX/debug-info-context.cpp | |
parent | 4ddca8ab795be2bb239a80b48a57d09f54dc07ba (diff) |
Testcase for PR11345.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info-context.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-context.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/CodeGenCXX/debug-info-context.cpp b/test/CodeGenCXX/debug-info-context.cpp new file mode 100644 index 0000000000..d6d44a158c --- /dev/null +++ b/test/CodeGenCXX/debug-info-context.cpp @@ -0,0 +1,17 @@ +// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s +// PR11345 + +class locale { +private: + void _M_add_reference() const throw() { + } +}; +class ios_base { + locale _M_ios_locale; +public: + class Init { + }; +}; +static ios_base::Init __ioinit; + +// CHECK-NOT: _M_ios_locale |