]> gcc.gnu.org Git - gcc.git/commitdiff
* g++.old-deja/g++.other/conv5.C: New test.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Tue, 15 Dec 1998 06:47:22 +0000 (06:47 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Tue, 15 Dec 1998 06:47:22 +0000 (06:47 +0000)
From-SVN: r24320

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/conv5.C [new file with mode: 0644]

index 0859d905a9bb46053f018f2e550df0d7abb2f242..3c43d9337f0cbfea5792167dbd9b9ee36d0bd304 100644 (file)
@@ -1,3 +1,7 @@
+1998-12-15  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * 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 (file)
index 0000000..2ec5b0a
--- /dev/null
@@ -0,0 +1,6 @@
+// Build don't link:
+
+// Based on bug report by Thomas Kunert <kunert@physik.tu-dresden.de>
+
+const int foo();
+int (*bar)() = foo; // ERROR - discarding const - XFAIL *-*-*
This page took 0.063708 seconds and 5 git commands to generate.