Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / test-279.cs
blob37376db0a3c31865726dd5cb5b4c078d2275228e
1 using System;
3 class FlagsAttributeDemo
5 // Define an Enum with FlagsAttribute.
6 [FlagsAttribute]
7 enum MultiHue : short
9 Black = 0,
10 Red = 1,
11 Green = 2,
12 Blue = 4
15 public static int Main( )
17 string s = ((MultiHue)7).ToString ();
19 Console.WriteLine (s);
20 if (s != "Red, Green, Blue")
21 return 1;
22 return 0;