Remove invalid tests for image palettes in GdiPlusTest (#5671)
[mono.git] / mcs / errors / cs1986-4.cs
1 // CS1986: The `await' operand type `int' must have suitable GetAwaiter method
2 // Line: 16
3
4 static class S
5 {
6         public static int GetAwaiter<T> (this int i)
7         {
8                 return 1;
9         }
10 }
11
12 class A
13 {
14         static async void Test ()
15         {
16                 await 9;
17         }
18 }