Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-321.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e3dc808dc3e768c8633b960372c02bbff0f7e9f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
 
struct X : IDisposable {
        public void Dispose ()
        {
        }
 
        public static void Main ()
        {
                X x = new X ();
                using (x)
                        ;
        }
}