Add test for PR9927.

llvm-svn: 131403
This commit is contained in:
Rafael Espindola 2011-05-16 12:42:39 +00:00
parent 56cf054a35
commit 5ec1941e58
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
// RUN: %clang_cc1 -emit-llvm-only %s
// Test that we don't crash.
class allocator {
};
class basic_string {
struct _Alloc_hider : allocator {
char* _M_p;
};
_Alloc_hider _M_dataplus;
};
@implementation
CrashReporterUI -(void)awakeFromNib {
}
-(void)showCrashUI:(const basic_string&)dumpfile {
}
@end