diff --git a/flang/test/Fir/convert-to-llvm-invalid.fir b/flang/test/Fir/convert-to-llvm-invalid.fir --- a/flang/test/Fir/convert-to-llvm-invalid.fir +++ b/flang/test/Fir/convert-to-llvm-invalid.fir @@ -20,10 +20,18 @@ // ----- -// Test that `fir.dispatch_table`/`fir.dt_entry` fails to be legalized. +// Test that `fir.dispatch_table` fails to be legalized. // Not implemented yet. // expected-error@+1{{failed to legalize operation 'fir.dispatch_table'}} fir.dispatch_table @dispatch_tbl { fir.dt_entry "method", @method_impl } + +// ----- + +// Test that `fir.dt_entry` fails to be legalized. +// Not implemented yet. + +// expected-error@+1{{failed to legalize operation 'fir.dt_entry'}} +fir.dt_entry "method", @method_impl