projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f2174
)
require diagnostic even without -pedantic
author
Alexandre Oliva
<oliva@gcc.gnu.org>
Mon, 21 Dec 1998 10:39:08 +0000
(10:39 +0000)
committer
Alexandre Oliva
<oliva@gcc.gnu.org>
Mon, 21 Dec 1998 10:39:08 +0000
(10:39 +0000)
From-SVN: r24389
gcc/testsuite/g++.old-deja/g++.other/conv5.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.old-deja/g++.other/conv5.C
b/gcc/testsuite/g++.old-deja/g++.other/conv5.C
index
2ec5b0a
..
97bf238
100644
(file)
--- a/
gcc/testsuite/g++.old-deja/g++.other/conv5.C
+++ b/
gcc/testsuite/g++.old-deja/g++.other/conv5.C
@@
-2,5
+2,7
@@
// Based on bug report by Thomas Kunert <kunert@physik.tu-dresden.de>
-const int foo();
-int (*bar)() = foo; // ERROR - discarding const - XFAIL *-*-*
+// Special g++ Options:
+
+int foo();
+const int (*bar)() = foo; // ERROR - adding const - XFAIL *-*-*