summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/initlist-array10.C
blob: fb9e136b56ec94e45d944a7291ca32156177e410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/90966
// { dg-do compile { target c++11 } }

template<typename I>
void f()
{
  using S = signed char;
  constexpr const S v[]{0};
}

int main()
{
  f<int>();
}