[cfe-commits] r131403 - /cfe/trunk/test/CodeGenObjCXX/PR9927.mm

Rafael Espindola rafael.espindola at gmail.com
Mon May 16 05:42:39 PDT 2011


Author: rafael
Date: Mon May 16 07:42:39 2011
New Revision: 131403

URL: http://llvm.org/viewvc/llvm-project?rev=131403&view=rev
Log:
Add test for PR9927.

Added:
    cfe/trunk/test/CodeGenObjCXX/PR9927.mm

Added: cfe/trunk/test/CodeGenObjCXX/PR9927.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjCXX/PR9927.mm?rev=131403&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenObjCXX/PR9927.mm (added)
+++ cfe/trunk/test/CodeGenObjCXX/PR9927.mm Mon May 16 07:42:39 2011
@@ -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;
+};
+ at implementation
+CrashReporterUI -(void)awakeFromNib {
+}
+-(void)showCrashUI:(const basic_string&)dumpfile   {
+}
+ at end





More information about the cfe-commits mailing list