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

test-238.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: def44e87b7c4d6ce46e3d340866fd5c12e7664fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Diagnostics;

class TestClass {
        [Conditional ("UNDEFINED_CONDITION")]
        static void ConditionalMethod ()
        {
            Environment.Exit (1);
        }
    
        static int Main()
        {
            ConditionalMethod ();
            Console.WriteLine ("Succeeded");
            return 0;
        }
}