Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

24 lines
416 B
C#

using System.Linq;
using System.Runtime.CompilerServices;
public class G<T>
{
}
namespace dynamic
{
public class C : G<dynamic>
{
public static int Main ()
{
var da = typeof (C).GetCustomAttributes (typeof (System.Runtime.CompilerServices.DynamicAttribute), false) [0] as DynamicAttribute;
if (!da.TransformFlags.SequenceEqual (new bool[] { false, true }))
return 1;
return 0;
}
}
}