[mcs] Resize identifier buffer in all cases. Fixes #28292
[mono.git] / mcs / tests / test-interpolation-05.cs
index c604b51badb320cd6969cc85ef80a88df6ad75f4..3dd99f5f2797f7c0db8b3b033fa08dedab20f9ca 100644 (file)
@@ -8,6 +8,11 @@ public class ParserTest
                Console.WriteLine(b ? $"{1:0.00}" : $"bar");
        }
 
+       void Test2 ()
+       {
+               Console.WriteLine($"This should work but the compiler explodes if the string is too long!");            
+       }
+
        public static void Main()
        {
        }