[PATCH] D113665: [flang] Add a test case for `fir.dt_entry`

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 11 05:19:32 PST 2021


awarzynski created this revision.
awarzynski added a reviewer: clementval.
Herald added a project: Flang.
awarzynski requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

This complements https://reviews.llvm.org/D113662


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113665

Files:
  flang/test/Fir/convert-to-llvm-invalid.fir


Index: flang/test/Fir/convert-to-llvm-invalid.fir
===================================================================
--- flang/test/Fir/convert-to-llvm-invalid.fir
+++ 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 at +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 at +1{{failed to legalize operation 'fir.dt_entry'}}
+fir.dt_entry "method", @method_impl


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113665.386483.patch
Type: text/x-patch
Size: 756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211111/6c03c854/attachment.bin>


More information about the llvm-commits mailing list