require diagnostic even without -pedantic
From-SVN: r24389
This commit is contained in:
parent
21f2174d55
commit
ebc9d4b79c
@ -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 *-*-*
|
||||
|
Loading…
Reference in New Issue
Block a user