Testcase for PR11345.

llvm-svn: 148585
This commit is contained in:
Eric Christopher 2012-01-20 22:10:18 +00:00
parent 45c4d47b8a
commit f3ed1bc8ac
1 changed files with 17 additions and 0 deletions

View File

@ -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