re PR objc++/43689 (const-str-5/6 fails)

2010-05-24  Iain Sandoe  <iains@gcc.gnu.org>

	PR ObjC++/43689
	* obj-c++.dg/const-str-5.mm: Name pointer equivalence union.
	* obj-c++.dg/const-str-6.mm: Ditto.

From-SVN: r159805
This commit is contained in:
Iain Sandoe 2010-05-25 01:00:16 +00:00 committed by Mike Stump
parent c9160fef83
commit cf3b8ee3ab
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2010-05-24 Iain Sandoe <iains@gcc.gnu.org>
PR ObjC++/43689
* obj-c++.dg/const-str-5.mm: Name pointer equivalence union.
* obj-c++.dg/const-str-6.mm: Ditto.
2010-05-24 Eric Botcazou <ebotcazou@adacore.com> 2010-05-24 Eric Botcazou <ebotcazou@adacore.com>
* g++.dg/parse/array-size2.C: Remove dg-error directives. * g++.dg/parse/array-size2.C: Remove dg-error directives.

View File

@ -10,7 +10,7 @@
@end @end
@interface MyConstantString: MyBase { @interface MyConstantString: MyBase {
union { union equiv_u {
void *u; void *u;
unsigned char *c; unsigned char *c;
} _contents; } _contents;

View File

@ -10,7 +10,7 @@
@end @end
@interface MyConstantString: MyBase { @interface MyConstantString: MyBase {
union { union equiv_u {
void *u; void *u;
unsigned char *c; unsigned char *c;
} _contents; } _contents;