summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/conv5.C
blob: fb3dccf170a9043526ebb790b2553edd63bca19d (plain)
1
2
3
4
5
6
7
8
// { 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