1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
  
     | 
    
      %Warning-MODDUP: t/t_mod_dup_bad_lib.v:14:8: Duplicate declaration of module: 'a'
   14 | module a();
      |        ^
                 t/t_mod_dup_bad_lib.v:7:8: ... Location of original declaration
    7 | module a();
      |        ^
                 ... For warning description see https://verilator.org/warn/MODDUP?v=latest
                 ... Use "/* verilator lint_off MODDUP */" and lint_on around source to disable this message.
%Warning-MULTITOP: t/t_mod_dup_bad_lib.v:17:8: Multiple top level modules
                                             : ... Suggest see manual; fix the duplicates, or use --top-module to select top.
                   ... For warning description see https://verilator.org/warn/MULTITOP?v=latest
                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.
                                             : ... Top module 'test'
   10 | module test();
      |        ^~~~
                                             : ... Top module 'b'
   17 | module b();
      |        ^
%Error: Exiting due to
 
     |