Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / template / nontype9.C
blobf381240e30108ddfe046c19384a90818458b276c
1 // { dg-do compile  }
2 // Contributed by: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 int i;
5 template <void (&FN)()>
6 struct g {
7   void foo(void) {
8     FN ();
9   }
12 void h ()
14   i = 7;
17 template struct g<h>;