Commit ebc9d4b7 by Alexandre Oliva

require diagnostic even without -pedantic

From-SVN: r24389
parent 21f2174d
...@@ -2,5 +2,7 @@ ...@@ -2,5 +2,7 @@
// Based on bug report by Thomas Kunert <kunert@physik.tu-dresden.de> // Based on bug report by Thomas Kunert <kunert@physik.tu-dresden.de>
const int foo(); // Special g++ Options:
int (*bar)() = foo; // ERROR - discarding const - XFAIL *-*-*
int foo();
const int (*bar)() = foo; // ERROR - adding const - XFAIL *-*-*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment