projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mcs] Fix parsing of interpolated strings inside conditional expression. Fixes #28293
[mono.git]
/
mcs
/
tests
/
test-interpolation-05.cs
diff --git a/mcs/tests/test-interpolation-05.cs
b/mcs/tests/test-interpolation-05.cs
new file mode 100644
(file)
index 0000000..
c604b51
--- /dev/null
+++ b/
mcs/tests/test-interpolation-05.cs
@@ -0,0
+1,14
@@
+using System;
+
+public class ParserTest
+{
+ void Test1 ()
+ {
+ bool b = true;
+ Console.WriteLine(b ? $"{1:0.00}" : $"bar");
+ }
+
+ public static void Main()
+ {
+ }
+}
\ No newline at end of file