================
@@ -454,3 +454,34 @@ void unimplemented_spill_fill_za(void
(*share_zt0_only)(void) __arm_inout("zt0")
// expected-note@+1 {{add '__arm_preserves("za")' to the callee if it
preserves ZA}}
share_zt0_only();
}
+
+// expected-cpp-error@+2 {{streaming function cannot be multi-versioned}}
+// expected-error@+1 {{streaming function cannot be multi-versioned}}
+__attribute__((target_version("sme2")))
+ // expected-cpp-note@+2 {{previous declaration is here}}
+ // expected-note@+1 {{previous declaration is here}}
----------------
sdesmalen-arm wrote:
nit: I guess these are notes corresponding to the errors on line 465 and 466
right? If so, could you move them to those lines? (and reference it with a
negative line offset)
https://github.com/llvm/llvm-project/pull/81268
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits