xref: /llvm-project/clang/test/CodeGenCXX/debug-info-context.cpp (revision 3459ce2e5ebbabb8d4dde3809da50dc89e1b0b35)
1*3459ce2eSDouglas Katzman // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s
2f3ed1bc8SEric Christopher // PR11345
3f3ed1bc8SEric Christopher 
4f3ed1bc8SEric Christopher class locale {
5f3ed1bc8SEric Christopher private:
_M_add_reference() const6f3ed1bc8SEric Christopher   void _M_add_reference() const throw() {
7f3ed1bc8SEric Christopher   }
8f3ed1bc8SEric Christopher };
9f3ed1bc8SEric Christopher class ios_base {
10f3ed1bc8SEric Christopher   locale _M_ios_locale;
11f3ed1bc8SEric Christopher public:
12f3ed1bc8SEric Christopher   class Init {
13f3ed1bc8SEric Christopher   };
14f3ed1bc8SEric Christopher };
15f3ed1bc8SEric Christopher static ios_base::Init __ioinit;
16f3ed1bc8SEric Christopher 
17f3ed1bc8SEric Christopher // CHECK-NOT: _M_ios_locale
18