summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-02 16:52:57 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-02 16:52:57 +0000
commit30953b582cf7049fa2f8084c48d14d86cfd6b7c5 (patch)
tree96ffc426a7e50e7692c59a8309c40ada885da29b
parentc0cc2275bb9c98b3ad82b4199288fed128f12e9c (diff)
downloadgcc-30953b582cf7049fa2f8084c48d14d86cfd6b7c5.tar.gz
* c-c++-common/dfp/pr35620.c: Give the union a name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153818 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog1
-rw-r--r--gcc/testsuite/c-c++-common/dfp/pr35620.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 52a26bc9d4c..3e3481e4269 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -15,6 +15,7 @@
* g++.old-deja/g++.pt/enum6.C: Likewise.
* g++.old-deja/g++.other/anon9.C: Likewise.
* g++.old-deja/g++.other/linkage1.C: Likewise.
+ * c-c++-common/dfp/pr35620.c: Give the union a name.
2009-11-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
diff --git a/gcc/testsuite/c-c++-common/dfp/pr35620.c b/gcc/testsuite/c-c++-common/dfp/pr35620.c
index 37a9c4044ed..2d56ab76b84 100644
--- a/gcc/testsuite/c-c++-common/dfp/pr35620.c
+++ b/gcc/testsuite/c-c++-common/dfp/pr35620.c
@@ -9,7 +9,7 @@ extern void foo (_Decimal32);
_Decimal32 *p;
extern int i;
-union { _Decimal32 a; int b; } u;
+union U { _Decimal32 a; int b; } u;
void
blatz (void)