From: Eric Christopher Date: Fri, 20 Jan 2012 22:10:18 +0000 (+0000) Subject: Testcase for PR11345. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4f4d5d570f294d011e276dc18d6d840e847958a;p=clang Testcase for PR11345. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148585 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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