// DESCRIPTION: Verilator: Test of select from constant
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2020 Wilson Snyder
// SPDX-License-Identifier: CC0-1.0

// verilator lint_off MULTIDRIVEN

module t (/*AUTOARG*/
  // Outputs
  o,
  // Inputs
  clk
  );
  input clk;
  output int o;

  localparam SIZE = 65536;

  // Unsupported case 1: Array NBA to compund type
  class C; endclass
  C array2[SIZE];
  always @ (negedge clk) begin
    o <= int'(array2[1] == null);
    for (int i=0; i<SIZE; i++) begin
      array2[i] <= null;  // BLKLOOPINIT
    end
  end

endmodule
