Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / gtest-524.cs
blobf27c833d80efd11f766c536420bff00841790144
1 // Compiler options: -warnaserror
3 // No CS1720 warning
5 using System;
7 class C
9 static T M<T> () where T : struct
11 return ((Nullable<T>)null).GetValueOrDefault ();
14 public static int Main ()
16 if (M<int> () != 0)
17 return 1;
19 return 0;