summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/vla1.C
blob: fe93440f1f2630ba1b2dd638252b8561ab1c2f6d (plain)
1
2
3
4
5
6
7
8
9
// PR c++/29226
// { dg-options "" }

template <bool>
static int label (int w)
{
  sizeof(int[w]);
}
int a = label<false>(1);