diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-25 01:00:16 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-25 01:00:16 +0000 |
commit | 732b98d74df9e043d3d197da8feab0dd2aac8564 (patch) | |
tree | d9e9dde1f6e93e685360a2ea0be7a6eae02ec194 /gcc/testsuite | |
parent | 6bc8b3bbfa5a1b9172ac9f687e8cd45ff6b8236c (diff) | |
download | gcc-732b98d74df9e043d3d197da8feab0dd2aac8564.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159805 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-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 ddb08adfce6..146fa02e576 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 186edcfceb2..479b4fd089e 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 a7cbbf7141a..3233083bf48 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; |