[mcs] Allows shadowing of probing pattern variables
[mono.git] / mcs / errors / cs0111-12.cs
1 // CS0111: A member `S3.S3(string)' is already defined. Rename this member or use different parameter types
2 // Line: 6
3 // Compiler options: -langversion:experimental
4
5 struct S3 (string s)
6 {
7         public S3 (string s)
8                 : this (1)
9         {
10         }
11
12         public S3 (int i)
13                 : this ("")
14         {
15         }
16 }