diff options
author | Iain Sandoe <iains@gcc.gnu.org> | 2010-05-25 01:00:16 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2010-05-25 01:00:16 +0000 |
commit | cf3b8ee3abe1b4b0bcf156a67547341a425bba5d (patch) | |
tree | d9e9dde1f6e93e685360a2ea0be7a6eae02ec194 /gcc | |
parent | c9160fef83e09c488b91afb29704b2093ce69ed8 (diff) | |
download | gcc-cf3b8ee3abe1b4b0bcf156a67547341a425bba5d.zip gcc-cf3b8ee3abe1b4b0bcf156a67547341a425bba5d.tar.gz gcc-cf3b8ee3abe1b4b0bcf156a67547341a425bba5d.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/obj-c++.dg/const-str-5.mm | 2 | ||||
-rw-r--r-- | gcc/testsuite/obj-c++.dg/const-str-6.mm | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ddb08ad..146fa02 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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> * g++.dg/parse/array-size2.C: Remove dg-error directives. diff --git a/gcc/testsuite/obj-c++.dg/const-str-5.mm b/gcc/testsuite/obj-c++.dg/const-str-5.mm index 186edcf..479b4fd 100644 --- a/gcc/testsuite/obj-c++.dg/const-str-5.mm +++ b/gcc/testsuite/obj-c++.dg/const-str-5.mm @@ -10,7 +10,7 @@ @end @interface MyConstantString: MyBase { - union { + union equiv_u { void *u; unsigned char *c; } _contents; diff --git a/gcc/testsuite/obj-c++.dg/const-str-6.mm b/gcc/testsuite/obj-c++.dg/const-str-6.mm index a7cbbf7..3233083 100644 --- a/gcc/testsuite/obj-c++.dg/const-str-6.mm +++ b/gcc/testsuite/obj-c++.dg/const-str-6.mm @@ -10,7 +10,7 @@ @end @interface MyConstantString: MyBase { - union { + union equiv_u { void *u; unsigned char *c; } _contents; |