diff options
author | Jason Merrill <jason@redhat.com> | 2009-11-02 11:52:57 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-11-02 11:52:57 -0500 |
commit | e150c4144c5852e54a38b6152d49d86d815223df (patch) | |
tree | 96ffc426a7e50e7692c59a8309c40ada885da29b | |
parent | 1eee69dd7102f777d5a147beb7d7686a7057df78 (diff) | |
download | gcc-e150c4144c5852e54a38b6152d49d86d815223df.zip gcc-e150c4144c5852e54a38b6152d49d86d815223df.tar.gz gcc-e150c4144c5852e54a38b6152d49d86d815223df.tar.bz2 |
* c-c++-common/dfp/pr35620.c: Give the union a name.
From-SVN: r153818
-rw-r--r-- | gcc/testsuite/ChangeLog | 1 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/dfp/pr35620.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 52a26bc..3e3481e 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 37a9c40..2d56ab7 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) |