[flang-commits] [flang] [flang][rfc] Add represention of volatile references (PR #132486)

Asher Mancinelli via flang-commits flang-commits at lists.llvm.org
Mon Mar 31 19:31:29 PDT 2025


================
@@ -160,5 +159,12 @@ func.func private @upe() -> !fir.class<!fir.box<i32>>
 
 // -----
 
+// TODO: why are source locations lost on the error message?
+// the error message is printed but without a proper source location.
+// expected-error <skipme> @+1 {{invalid element type}}
+// func.func private @upe() -> !fir.box<!fir.class<none>>
----------------
ashermancinelli wrote:

Slava gave me a suggestion that worked 😄 

https://github.com/llvm/llvm-project/pull/132486


More information about the flang-commits mailing list