summaryrefslogtreecommitdiffhomepage
path: root/CompilerDriver/cc2/regression-tests/pure2-bugfix-for-non-local-initialization.cpp2
blob: faa06039ea641e07404b3c396515f955795534cf (plain)
1
2
3
4
5
6
7
8
u: type == std::array<i32, 2>;
t: @struct type = {
  this: std::integral_constant<u, :u = (17, 29)>;
}
main: () = {
  assert<Testing>( t::value[0] == 17 );
  assert<Testing>( t::value[1] == 29 );
}