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