2014-09-04 09:07:35 +01:00
|
|
|
// CS8043: `S.S(long)': Structs with primary constructor cannot specify default constructor initializer
|
|
|
|
// Line: 6
|
2015-04-07 09:35:12 +01:00
|
|
|
// Compiler options: -langversion:experimental
|
2014-09-04 09:07:35 +01:00
|
|
|
|
|
|
|
struct S (int x)
|
|
|
|
{
|
|
|
|
public S (long x)
|
|
|
|
: this ()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|