rt_gccstream/gcc/testsuite/g++.old-deja/g++.other/conv5.C

9 lines
186 B
C

// { dg-do assemble }
// { dg-options "" }
// Based on bug report by Thomas Kunert <kunert@physik.tu-dresden.de>
int foo();
const int (*bar)() = foo; // { dg-error "" } adding const