Commit ebc9d4b7 by Alexandre Oliva

require diagnostic even without -pedantic

From-SVN: r24389
parent 21f2174d
......@@ -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 *-*-*
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