diff --git a/src/tests/issues.targets b/src/tests/issues.targets
index 7a2cff6628af3a..e03e2fe28bd388 100644
--- a/src/tests/issues.targets
+++ b/src/tests/issues.targets
@@ -2464,6 +2464,10 @@
Reflection.Emit is not supported on fullaot
+
+
+ Attempting to JIT compile method 'void CMain:RunInvalidTest1 ()' while running in aot-only mode.
+