From 68b048138c5bf9ce62ab690a7ae3b8a91d22234e Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 15 Dec 1998 06:47:22 +0000 Subject: [PATCH] * g++.old-deja/g++.other/conv5.C: New test. From-SVN: r24320 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.old-deja/g++.other/conv5.C | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.other/conv5.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0859d905a9b..3c43d9337f0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +1998-12-15 Alexandre Oliva + + * g++.old-deja/g++.other/conv5.C: New test. + Fri Dec 11 10:25:57 1998 Jeffrey A Law (law@cygnus.com) * g++.old-deja/g++.benjamin/p12475.C: Expect failure on mips64 targets. diff --git a/gcc/testsuite/g++.old-deja/g++.other/conv5.C b/gcc/testsuite/g++.old-deja/g++.other/conv5.C new file mode 100644 index 00000000000..2ec5b0a28d1 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/conv5.C @@ -0,0 +1,6 @@ +// Build don't link: + +// Based on bug report by Thomas Kunert + +const int foo(); +int (*bar)() = foo; // ERROR - discarding const - XFAIL *-*-*