summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1644-34.cs
blob: 847c6c115a336659ba527f31cd7450c5fe994b3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS1644: Feature `asynchronous functions' cannot be used because it is not part of the C# 4.0 language specification
// Line: 10
// Compiler options: -langversion:4

using System;

class C
{
	public void Foo ()
	{
		Action a = async () => { };
	}
}