[test] Split_literals_tests relies on no inlining across the loading units to check constant pools are also deferred.

Change-Id: I3989b7c923ecebf144eae44dc4897177fe4550be
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/326686
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
Ryan Macnak
2023-09-19 15:50:58 +00:00
committed by Commit Queue
parent 8507f557f0
commit 2d99be9b5b
@@ -4,6 +4,7 @@
import "split_literals.dart";
@pragma("vm:never-inline")
void foo() {
print("Deferred literal!");
print(const <String>["Deferred literal in a list!"]);