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 | f3ed1bc8ac446cf5f92cb88003b3b8f3b2930bcc (patch) | |
tree | 61dcd5577a7b1a27ac557b4cfe1301609208a6ee /clang/test/CodeGenCXX/debug-info-context.cpp | |
parent | 45c4d47b8ad73cfcd31b2b1fb6902476d52e3a85 (diff) | |
download | bcm5719-llvm-f3ed1bc8ac446cf5f92cb88003b3b8f3b2930bcc.tar.gz bcm5719-llvm-f3ed1bc8ac446cf5f92cb88003b3b8f3b2930bcc.zip |
Testcase for PR11345.
llvm-svn: 148585
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-context.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-context.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-context.cpp b/clang/test/CodeGenCXX/debug-info-context.cpp new file mode 100644 index 00000000000..d6d44a158c3 --- /dev/null +++ b/clang/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 |