summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/label2.C
blob: 7d11d00f52eebad1b1bbf17c200f566365805aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options "" }

template <typename T>
void f() {
 l:
  void *p[] = { &&l };

  goto *p[0];
}

template void f<int>();